Pg _table_fk_info to use catalog not info_schema
authorRafael Kitover <rkitover@cpan.org>
Tue, 16 Oct 2012 03:00:55 +0000 (23:00 -0400)
committerRafael Kitover <rkitover@cpan.org>
Tue, 16 Oct 2012 03:00:55 +0000 (23:00 -0400)
commitf839d33b5268c9396dc7cbc6432143d2f4eb5ea1
tree7e4757d839dad64e92f5d21967e1fe0de8bf385a
parent4f7692f04667cf29b0d135e814966753dc74c06f
Pg _table_fk_info to use catalog not info_schema

Rewrite Pg _table_fk_info query to use the catalog views rather than the
information_schema, as a user on IRC reported that the
information_schema query does not work for readonly Pg users, but the
catalog query does work.
Changes
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm