diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-10 21:36:21 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-10 21:36:21 +0000 |
commit | 8826fe859f1be4d1a567875324e8a5be6948da9e (patch) | |
tree | d8e36808fae77ed5bd095b2af23cbb8da429d042 /src/backend/utils/adt/int.c | |
parent | d78397d301172cccce14d5d789f296c47dd47c5e (diff) | |
download | postgresql-8826fe859f1be4d1a567875324e8a5be6948da9e.tar.gz postgresql-8826fe859f1be4d1a567875324e8a5be6948da9e.zip |
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/int.c')
-rw-r--r-- | src/backend/utils/adt/int.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/utils/adt/int.c b/src/backend/utils/adt/int.c index d00a7d166ae..d35af1c913a 100644 --- a/src/backend/utils/adt/int.c +++ b/src/backend/utils/adt/int.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/int.c,v 1.66 2005/03/29 00:17:08 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/int.c,v 1.67 2005/07/10 21:36:21 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -215,9 +215,10 @@ int2vectorrecv(PG_FUNCTION_ARGS) int2vector *result; result = (int2vector *) - DatumGetPointer(DirectFunctionCall2(array_recv, + DatumGetPointer(DirectFunctionCall3(array_recv, PointerGetDatum(buf), - ObjectIdGetDatum(INT2OID))); + ObjectIdGetDatum(INT2OID), + Int32GetDatum(-1))); /* sanity checks: int2vector must be 1-D, no nulls */ if (result->ndim != 1 || result->flags != 0 || |