Index: openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	7 Apr 2001 15:54:55 -0000	1.7
+++ openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	11 Apr 2001 12:41:21 -0000	1.8
@@ -1,7 +1,9 @@
 create view dual as select now() as sysdate;
 
 -- used to support anonymous plsql blocks in the db_plsql function call in tcl.
-create sequence anon_func_seq;
+create sequence t_anon_func_seq;
+create view anon_func_seq as 
+select nextval('t_anon_func_seq') as nextval;
 
 create function instr(varchar,char,integer,integer) returns integer as '
 declare
