diff options
author | Tom Lane | 2000-05-28 15:40:25 +0000 |
---|---|---|
committer | Tom Lane | 2000-05-28 15:40:25 +0000 |
commit | 4b72779f7bd8e674ac8a2a7b5eac007d11f16e4d (patch) | |
tree | b8f2450f31c15f3284075d9f75bcd54ca024a1a8 | |
parent | 67f6b333acc70e7346078dde25fb237465a31271 (diff) |
fastpath neglected to pass a valid isNull flag to the function being
called. We hadn't noticed this because C-coded functions mostly don't
pay attention to isNull anyway ... but plpgsql functions sure do ...
This is fixed in another way for 7.1, but 7.0.1 needs this patch.
-rw-r--r-- | src/backend/tcop/fastpath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/tcop/fastpath.c b/src/backend/tcop/fastpath.c index 1b38fe7ed08..c6ac986cbbf 100644 --- a/src/backend/tcop/fastpath.c +++ b/src/backend/tcop/fastpath.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.38 2000/04/12 17:15:43 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.38.2.1 2000/05/28 15:40:25 tgl Exp $ * * NOTES * This cruft is the server side of PQfn. @@ -363,6 +363,7 @@ HandleFunctionRequest() } #ifndef NO_FASTPATH + isNull = false; retval = fmgr_array_args(fid, nargs, arg, &isNull); #else retval = NULL; |