diff options
author | Bruce Momjian <bruce@momjian.us> | 1996-11-30 18:07:02 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1996-11-30 18:07:02 +0000 |
commit | 63df35e24943477ad04e4cde6186687c42aa48bb (patch) | |
tree | 40627c56b099e65665e66f368f98e1a177b73ffc /src/backend/commands/remove.c | |
parent | f0a9e64afd1d2401abc269274113e4384bf537b9 (diff) | |
download | postgresql-63df35e24943477ad04e4cde6186687c42aa48bb.tar.gz postgresql-63df35e24943477ad04e4cde6186687c42aa48bb.zip |
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/commands/remove.c')
-rw-r--r-- | src/backend/commands/remove.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |