forked from lix-project/hydra
Turn prepared statements back on
We once turned these off (in commit
abe71a767b
) because they caused the
PostgreSQL query optimizer to use very suboptimal plans. However,
PostgreSQL 9.2 has supposedly fixed this:
http://www.postgresql.org/docs/9.2/static/release-9-2.html
So let's try again.
This commit is contained in:
parent
f51b93da03
commit
5e6896b2d9
|
@ -20,8 +20,7 @@ sub getHydraDBPath {
|
||||||
__PACKAGE__->config(
|
__PACKAGE__->config(
|
||||||
schema_class => 'Hydra::Schema',
|
schema_class => 'Hydra::Schema',
|
||||||
connect_info => {
|
connect_info => {
|
||||||
dsn => getHydraDBPath,
|
dsn => getHydraDBPath
|
||||||
pg_server_prepare => 0,
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue