minor optimization for Pg FK attrs, better test
authorRafael Kitover <rkitover@cpan.org>
Wed, 29 Aug 2012 16:18:03 +0000 (12:18 -0400)
committerRafael Kitover <rkitover@cpan.org>
Wed, 29 Aug 2012 16:18:03 +0000 (12:18 -0400)
commitb976244637f29ed09595b371def46ceccbff5cc3
tree56d01cab146fdb2aef1514d7b2aca993f52615c7
parentef73d2ade02190ee6e89138aa52d19f7138272b1
minor optimization for Pg FK attrs, better test

Set the FK attributes in Pg _table_fk_info only once instead of once for
each column.

Also test DEFERRABLE being on instead of off, since it defaults to off.
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
t/10_03pg_common.t