summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/oid.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-10 21:36:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-10 21:36:21 +0000
commit8826fe859f1be4d1a567875324e8a5be6948da9e (patch)
treed8e36808fae77ed5bd095b2af23cbb8da429d042 /src/backend/utils/adt/oid.c
parentd78397d301172cccce14d5d789f296c47dd47c5e (diff)
Missed adding extra argument to array_recv in a couple of places
(harmless, actually, but let's be tidy).
Diffstat (limited to 'src/backend/utils/adt/oid.c')
-rw-r--r--src/backend/utils/adt/oid.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/utils/adt/oid.c b/src/backend/utils/adt/oid.c
index 4329f07b830..e9a2c741be2 100644
--- a/src/backend/utils/adt/oid.c
+++ b/src/backend/utils/adt/oid.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/oid.c,v 1.62 2005/03/29 00:17:08 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/oid.c,v 1.63 2005/07/10 21:36:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -257,9 +257,10 @@ oidvectorrecv(PG_FUNCTION_ARGS)
oidvector *result;
result = (oidvector *)
- DatumGetPointer(DirectFunctionCall2(array_recv,
+ DatumGetPointer(DirectFunctionCall3(array_recv,
PointerGetDatum(buf),
- ObjectIdGetDatum(OIDOID)));
+ ObjectIdGetDatum(OIDOID),
+ Int32GetDatum(-1)));
/* sanity checks: oidvector must be 1-D, no nulls */
if (result->ndim != 1 ||
result->flags != 0 ||