summaryrefslogtreecommitdiff
path: root/src/backend/tcop/aclchk.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-11-30 18:07:02 +0000
committerBruce Momjian <bruce@momjian.us>1996-11-30 18:07:02 +0000
commit63df35e24943477ad04e4cde6186687c42aa48bb (patch)
tree40627c56b099e65665e66f368f98e1a177b73ffc /src/backend/tcop/aclchk.c
parentf0a9e64afd1d2401abc269274113e4384bf537b9 (diff)
This patch changes quite a few instances of references of Oid's
as ints and longs. Touches on quite a few function args as well. Most other files look ok as far as Oids go...still checking though... Since Oids are type'd as unsigned ints, they should prolly be used with the %ud format string in elog and sprintf messages. Not sure what kind of strangeness that could produce. Darren King
Diffstat (limited to 'src/backend/tcop/aclchk.c')
-rw-r--r--src/backend/tcop/aclchk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tcop/aclchk.c b/src/backend/tcop/aclchk.c
index 342d373a456..32e6314ae16 100644
--- a/src/backend/tcop/aclchk.c
+++ b/src/backend/tcop/aclchk.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/Attic/aclchk.c,v 1.4 1996/11/08 05:59:23 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/Attic/aclchk.c,v 1.5 1996/11/30 18:06:45 momjian Exp $
*
* NOTES
* See acl.h.
@@ -551,7 +551,7 @@ pg_func_ownercheck(char *usename,
PointerGetDatum(arglist),
0);
if (!HeapTupleIsValid(htp))
- func_error("pg_func_ownercheck", funcname, nargs, (int*)arglist);
+ func_error("pg_func_ownercheck", funcname, nargs, arglist);
owner_id = ((Form_pg_proc) GETSTRUCT(htp))->proowner;