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 -N -r1.32 -r1.33
--- openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	17 May 2003 01:47:10 -0000	1.32
+++ openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	9 Nov 2003 12:51:52 -0000	1.33
@@ -568,9 +568,9 @@
   key      alias for $1;
 begin
   if key is null then
-    return ''X00'';
+    return ''X00''::varbit;
   else
-    return key || ''X00'';
+    return key || ''X00''::varbit;
   end if;
 end;' language 'plpgsql' with(iscachable);
 
@@ -584,9 +584,9 @@
   key      alias for $1;
 begin
   if key is null then
-    return ''XFFFFFFFF'';
+    return ''XFFFFFFFF''::varbit;
   else
-    return key || ''XFFFFFFFF'';
+    return key || ''XFFFFFFFF''::varbit;
   end if;
 end;' language 'plpgsql' with(iscachable);
 
