Update to add myself to contributors and to hide Modules from the PAUSE Indexer.
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / Pg.pm
index 7fb6b8c..f9cbee9 100644 (file)
@@ -23,13 +23,17 @@ sub get_autoinc_seq {
   while (my $col = shift @pri) {
     my $info = $dbh->column_info(undef,$schema,$table,$col)->fetchrow_arrayref;
     if (defined $info->[12] and $info->[12] =~ 
-      /^nextval\('"?([^"']+)"?'::(?:text|regclass)\)/)
+      /^nextval\('([^']+)'::(?:text|regclass)\)/)
     {
-      return $1;
+      return $1; # may need to strip quotes -- see if this works
     } 
   }
 }
 
+sub sqlt_type {
+  return 'PostgreSQL';
+}
+
 1;
 
 =head1 NAME