Index: openacs-4/packages/acs-events/sql/postgresql/recurrence-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/recurrence-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/acs-events/sql/postgresql/recurrence-create.sql	17 May 2003 09:46:57 -0000	1.2
+++ openacs-4/packages/acs-events/sql/postgresql/recurrence-create.sql	8 Nov 2010 13:10:35 -0000	1.3
@@ -8,7 +8,6 @@
 
 -- Sequence for recurrence tables
 create sequence recurrence_sequence start 1;
-create view recurrence_seq as select nextval('recurrence_sequence') as nextval;
 
 -- These columns describe how an event recurs.  The are modeled on the Palm DateBook.
 -- The interval_type 'custom' indicates that the PL/SQL function referenced in
@@ -154,7 +153,7 @@
        v_interval_type_id	  recurrence_interval_types.interval_type%TYPE;
 begin
 
-       select recurrence_seq.nextval into v_recurrence_id from dual;
+       select nextval(''recurrence_sequence'') into v_recurrence_id from dual;
         
        select interval_type
        into   v_interval_type_id 
