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:
Eelco Dolstra 2013-02-25 21:20:52 +01:00
parent f51b93da03
commit 5e6896b2d9

View file

@ -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,
}, },
); );