From: Robert Buels Date: Mon, 22 Feb 2010 22:09:40 +0000 (+0000) Subject: added package name to DBD::Pg warning in Pg storage driver to make it explicit where... X-Git-Tag: v0.08120~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=21c636471858375b5f9a807ae6edc1f158f3e46e;p=dbsrgits%2FDBIx-Class.git added package name to DBD::Pg warning in Pg storage driver to make it explicit where the warning is coming from --- diff --git a/lib/DBIx/Class/Storage/DBI/Pg.pm b/lib/DBIx/Class/Storage/DBI/Pg.pm index 6636201..92153ec 100644 --- a/lib/DBIx/Class/Storage/DBI/Pg.pm +++ b/lib/DBIx/Class/Storage/DBI/Pg.pm @@ -9,7 +9,7 @@ use mro 'c3'; use DBD::Pg qw(:pg_types); # Ask for a DBD::Pg with array support -warn "DBD::Pg 2.9.2 or greater is strongly recommended\n" +warn __PACKAGE__.": DBD::Pg 2.9.2 or greater is strongly recommended\n" if ($DBD::Pg::VERSION < 2.009002); # pg uses (used?) version::qv() sub with_deferred_fk_checks {