Index: openacs-4/packages/acs-reference/sql/postgresql/acs-reference-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-reference/sql/postgresql/acs-reference-create.sql,v
diff -u -r1.11 -r1.11.4.1
--- openacs-4/packages/acs-reference/sql/postgresql/acs-reference-create.sql	12 Mar 2004 18:48:53 -0000	1.11
+++ openacs-4/packages/acs-reference/sql/postgresql/acs-reference-create.sql	2 Jan 2007 14:41:48 -0000	1.11.4.1
@@ -193,6 +193,7 @@
 returns char as '
 declare
     repository_id alias for $1;
+    v_expiry_date acs_reference_repositories.expiry_date%TYPE;
 begin
     select expiry_date into v_expiry_date
     from   acs_reference_repositories
