[freeside-commits] freeside/FS/FS Record.pm,1.110.2.1,1.110.2.2
Ivan,,,
ivan at wavetail.420.am
Sat Jul 1 04:26:09 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv25188
Modified Files:
Tag: FREESIDE_1_5_BRANCH
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.110.2.1
retrieving revision 1.110.2.2
diff -u -d -r1.110.2.1 -r1.110.2.2
--- Record.pm 31 Jan 2006 03:00:00 -0000 1.110.2.1
+++ Record.pm 1 Jul 2006 11:26:07 -0000 1.110.2.2
@@ -757,7 +757,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