From aea9b6e20f4e361030b3627b1cf39c6957e44a2e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 30 May 2000 07:09:23 +0000 Subject: [PATCH] Ooops, looks like I broke fastpath in last changes... --- src/backend/tcop/fastpath.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/tcop/fastpath.c b/src/backend/tcop/fastpath.c index 60e1c7c445..45c62f365e 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.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 * 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; argtypes = pp->proargtypes; + fmgr_info(func_id, &fip->flinfo); + for (i = 0; i < fip->flinfo.fn_nargs; ++i) { if (OidIsValid(argtypes[i])) @@ -251,8 +253,6 @@ update_fp_info(Oid func_id, struct fp_info * fip) fip->xid = GetCurrentTransactionId(); fip->cid = GetCurrentCommandId(); - fmgr_info(func_id, &fip->flinfo); - /* * This must be last! */