Index: openacs-4/packages/acs-events/sql/postgresql/oracle-compat-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/oracle-compat-create.sql,v
diff -u -r1.2 -r1.2.2.1
--- openacs-4/packages/acs-events/sql/postgresql/oracle-compat-create.sql	22 Jul 2002 21:46:19 -0000	1.2
+++ openacs-4/packages/acs-events/sql/postgresql/oracle-compat-create.sql	21 Jan 2003 13:45:30 -0000	1.2.2.1
@@ -78,14 +78,14 @@
        integer,
        varchar
 )
-returns timespan as '	
+returns interval as '	
 declare    
        interval__number	     alias for $1;
        interval__units	     alias for $2;
 begin
 
 	-- We should probably do unit checking at some point
-	return ('''''''' || interval__number || '' '' || interval__units || '''''''')::timespan;
+	return ('''''''' || interval__number || '' '' || interval__units || '''''''')::interval;
 
 end;' language 'plpgsql';
 
