Index: openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/00-database-procs-postgresql.tcl,v
diff -u -r1.35.2.5 -r1.35.2.6
--- openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl	26 Feb 2003 02:25:00 -0000	1.35.2.5
+++ openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl	14 Mar 2003 21:40:54 -0000	1.35.2.6
@@ -21,8 +21,7 @@
         return $nextval
     } else {
         ns_log debug "db_nextval: sequence($sequence) is not a real sequence.  perhaps it uses the view hack."
-        db_0or1row nextval_view "select nextval from ${sequence}"
-        return $nextval
+        return [db_string nextval_view "select nextval from ${sequence}"]
     }
 }