Ooops, looks like I broke fastpath in last changes...
This commit is contained in:
parent
a3cd0654db
commit
aea9b6e20f
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.39 2000/05/28 17:56:04 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.40 2000/05/30 07:09:23 tgl Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This cruft is the server side of PQfn.
|
* This cruft is the server side of PQfn.
|
||||||
@ -215,6 +215,8 @@ update_fp_info(Oid func_id, struct fp_info * fip)
|
|||||||
rettype = pp->prorettype;
|
rettype = pp->prorettype;
|
||||||
argtypes = pp->proargtypes;
|
argtypes = pp->proargtypes;
|
||||||
|
|
||||||
|
fmgr_info(func_id, &fip->flinfo);
|
||||||
|
|
||||||
for (i = 0; i < fip->flinfo.fn_nargs; ++i)
|
for (i = 0; i < fip->flinfo.fn_nargs; ++i)
|
||||||
{
|
{
|
||||||
if (OidIsValid(argtypes[i]))
|
if (OidIsValid(argtypes[i]))
|
||||||
@ -251,8 +253,6 @@ update_fp_info(Oid func_id, struct fp_info * fip)
|
|||||||
fip->xid = GetCurrentTransactionId();
|
fip->xid = GetCurrentTransactionId();
|
||||||
fip->cid = GetCurrentCommandId();
|
fip->cid = GetCurrentCommandId();
|
||||||
|
|
||||||
fmgr_info(func_id, &fip->flinfo);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This must be last!
|
* This must be last!
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user