X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FPg.pm;h=683a572f42089f1ef9c3c78de4511dc618d723a0;hb=25328cc401d1f24e5c975475b6389fa462698b73;hp=08ddca82988b71149cbc9e161d56e5f9aae73aa0;hpb=5223f24a6662ce33f7b60d2a3f6f83e83f5373cc;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm index 08ddca8..683a572 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm @@ -3,11 +3,13 @@ package DBIx::Class::Schema::Loader::DBI::Pg; use strict; use warnings; use base 'DBIx::Class::Schema::Loader::DBI'; +use Carp::Clan qw/^DBIx::Class::Schema::Loader/; use Class::C3; =head1 NAME -DBIx::Class::Schema::Loader::DBI::Pg - DBIx::Class::Schema::Loader::DBI Postgres Implementation. +DBIx::Class::Schema::Loader::DBI::Pg - DBIx::Class::Schema::Loader::DBI +PostgreSQL Implementation. =head1 SYNOPSIS @@ -79,7 +81,7 @@ sub _table_uniq_info { } if(!@col_names) { - warn "Failed to parse unique constraint $indexname on $table"; + warn "Failed to parse UNIQUE constraint $indexname on $table"; } else { push(@uniqs, [ $indexname => \@col_names ]);