[freeside-commits] freeside/FS/FS Record.pm,1.116,1.117
Ivan,,,
ivan at wavetail.420.am
Sat Jul 1 04:26:08 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv25185
Modified Files:
Record.pm
Log Message:
another Pg 8.1 fix? noticed by Damon Vincent
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- Record.pm 19 Jun 2006 02:33:52 -0000 1.116
+++ Record.pm 1 Jul 2006 11:26:06 -0000 1.117
@@ -763,7 +763,7 @@
#my $i_sql = "SELECT $primary_key FROM $table WHERE oid = ?";
my $default = $self->dbdef_table->column($primary_key)->default;
- unless ( $default =~ /^nextval\('"?([\w\.]+)"?'/i ) {
+ unless ( $default =~ /^nextval\(\(?'"?([\w\.]+)"?'/i ) {
dbh->rollback if $FS::UID::AutoCommit;
return "can't parse $table.$primary_key default value".
" for sequence name: $default";
More information about the freeside-commits
mailing list