projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
statistics_info support
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Loader
/
DBI
/
Pg.pm
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
index
5f4ae7c
..
e599b32
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
@@
-38,6
+38,11
@@
sub _setup {
sub _table_uniq_info {
my ($self, $table) = @_;
+ # Use the default support if available
+ return $self->next::method($table)
+ if $DBI::VERSION >= 1.52
+ && $DBD::Pg::VERSION >= 1.50;
+
my @uniqs;
my $dbh = $self->schema->storage->dbh;