jonswar/perl-chi-driver-dbi — pull request #2 by ChinaXing (2013-03-20 08:57:38+00:00)
Title: The support of Postgresql has completed.

beacuse of postgresql will produce a "NOTICE: relation "chi_Default already exists"" when execute create table use the the SQL " create table if not exists "chi_Default" ( ... ) ".

**since a test failure** : non-overridable subcache keys
NOTICE: relation "chi_Default" already exists, skipping

# Failed test 'non-overridable subcache keys'
# at /usr/local/lib/perl5/site_perl/5.16.2/CHI/t/Driver.pm line 942.
# (in CHI::Driver::DBI::t::CHIDriverTests::Pg->test_subcache_overridable_params)
# found warning: cannot override these keys in a subcache: expires_variance, serializer at /usr/local/lib/perl5/site_perl/5.16.2/CHI/Driver/Role/HasSubcaches.pm line 56.
# found warning: NOTICE: relation "chi_Default" already exists, skipping
# expected to find warning: (?^:cannot override these keys)

you can change the test function , warnings_like 's regular expression to [qr/cannot override these keys/], to fix this fake failure !

thanks !