Subject: | Adjustments to table_info() for the loss of spclocation in 9.2 |
Postgres 9.2 removed spclocation from pg_tablespace. Instead, pg_tablespace_location(oid) can
be used. See section E.2.2.1 of the release notes for 9.2
http://www.postgresql.org/docs/devel/static/release-9-2.html
This affects the table_info function of DBD::Pg and causes it to die a horrible death. E.g.
"DBD::Pg::db table_info failed: ERROR: column t.spclocation does not exist"
Someone has posted a patch that appears to address the issue but the latest release (DBD::Pg
2.19.3) doesn't include the new code:
http://www.nntp.perl.org/group/perl.dbd.pg.changes/2012/05/msg1080.html
Thanks,
-Ben Arwin