projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8ab9906
)
Applied Brandon Black's patch to PK::Auto::Pg
Matt S Trout [Thu, 24 Nov 2005 23:56:06 +0000 (23:56 +0000)]
lib/DBIx/Class/PK/Auto/Pg.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/PK/Auto/Pg.pm
b/lib/DBIx/Class/PK/Auto/Pg.pm
index
52185e5
..
ab401f8
100644
(file)
--- a/
lib/DBIx/Class/PK/Auto/Pg.pm
+++ b/
lib/DBIx/Class/PK/Auto/Pg.pm
@@
-27,7
+27,7
@@
sub get_autoinc_seq {
while (my $foo = $sth->fetchrow_arrayref){
if(defined $foo->[12] && $foo->[12] =~ /^nextval/) {
($self->{_autoinc_seq}) = $foo->[12] =~
- m!^nextval\('"?([^"']+)"?'::text\)!;
+ m!^nextval\('"?([^"']+)"?'::(?:text|regclass)\)!;
}
}
}