introspect ON DELETE/UPDATE and DEFERRABLE for pg
authorRafael Kitover <rkitover@cpan.org>
Sun, 26 Aug 2012 22:35:23 +0000 (18:35 -0400)
committerRafael Kitover <rkitover@cpan.org>
Sun, 26 Aug 2012 22:35:23 +0000 (18:35 -0400)
commit958d5fcfc75fc334524e17147b07fb5acfdfee26
tree1a118b3c1e30e3c8c6c442ba71ff984c84c0df0f
parentb95e25c90262dc58ddd27980556164c7df498bba
introspect ON DELETE/UPDATE and DEFERRABLE for pg

Apparently Pg has an information_schema, so I copied the _table_fk_info
from the MSSQL driver and modified it to introspect the ON and
DEFERRABLE clauses.

I will add this introspection for MSSQL shortly as well, after which I
will remove the duplication from these two drivers and add an
InformationSchema component.
Changes
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
t/10_02mysql_common.t
t/10_03pg_common.t
t/lib/dbixcsl_common_tests.pm