aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-05-30 07:09:23 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-05-30 07:09:23 +0000
commitaea9b6e20f4e361030b3627b1cf39c6957e44a2e (patch)
treeb4f249f4f4f85edebbfd1f0c258f68fde2127591
parenta3cd0654dbb2e600353507433d05f05a0de78c53 (diff)
downloadpostgresql-aea9b6e20f4e361030b3627b1cf39c6957e44a2e.tar.gz
postgresql-aea9b6e20f4e361030b3627b1cf39c6957e44a2e.zip
Ooops, looks like I broke fastpath in last changes...
-rw-r--r--src/backend/tcop/fastpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tcop/fastpath.c b/src/backend/tcop/fastpath.c
index 60e1c7c4454..45c62f365e4 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!
*/