mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
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.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* NOTES
|
||||||
* This cruft is the server side of PQfn.
|
* This cruft is the server side of PQfn.
|
||||||
@ -363,6 +363,7 @@ HandleFunctionRequest()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NO_FASTPATH
|
#ifndef NO_FASTPATH
|
||||||
|
isNull = false;
|
||||||
retval = fmgr_array_args(fid, nargs, arg, &isNull);
|
retval = fmgr_array_args(fid, nargs, arg, &isNull);
|
||||||
#else
|
#else
|
||||||
retval = NULL;
|
retval = NULL;
|
||||||
|
Reference in New Issue
Block a user