From 63df35e24943477ad04e4cde6186687c42aa48bb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 30 Nov 1996 18:07:02 +0000 Subject: 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 --- src/backend/commands/remove.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/remove.c') diff --git a/src/backend/commands/remove.c b/src/backend/commands/remove.c index 2b9dcc2a788..3f57ea79bc0 100644 --- a/src/backend/commands/remove.c +++ b/src/backend/commands/remove.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.6 1996/11/06 08:21:38 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.7 1996/11/30 18:06:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -350,7 +350,7 @@ RemoveFunction(char *functionName, /* function name to be removed */ Int32GetDatum(nargs), PointerGetDatum(argList),0); if (!HeapTupleIsValid(tup)) - func_error("RemoveFunction", functionName, nargs, (int*)argList); + func_error("RemoveFunction", functionName, nargs, argList); #ifndef NO_SECURITY userName = GetPgUserName(); @@ -387,7 +387,7 @@ RemoveFunction(char *functionName, /* function name to be removed */ { heap_endscan(scan); heap_close(relation); - func_error("RemoveFunction", functionName,nargs, (int*)argList); + func_error("RemoveFunction", functionName,nargs, argList); } /* ok, function has been found */ -- cgit v1.2.3