Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-permissions-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-permissions-create.sql,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-permissions-create.sql	17 Apr 2001 23:41:36 -0000	1.10
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-permissions-create.sql	19 Apr 2001 14:52:47 -0000	1.11
@@ -582,12 +582,12 @@
 
 
 -- function permission_p
-create function acs_permission__permission_p ()
+create function acs_permission__permission_p (integer,integer,varchar)
 returns boolean as '
 declare
-    permission_p__object_id           integer;
-    permission_p__party_id            integer;
-    permission_p__privilege           integer;
+    permission_p__object_id           alias for $1;
+    permission_p__party_id            alias for $2;
+    permission_p__privilege           alias for $3;
     exists_p                          boolean;       
 begin
     -- We should question whether we really want to use the
