summaryrefslogtreecommitdiff
path: root/src/include/tcop/fastpath.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-06-01 15:45:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-06-01 15:45:42 +0000
commita51ec450ff6d9a6c8ebd2213ae96f6f14b5d0f63 (patch)
tree5fb4799d07b0d244da7d0b0d62925d7d9256628d /src/include/tcop/fastpath.h
parentcfd184371e8948c9d856db124420354131440ef8 (diff)
Remove fastpath.c's lame attempt at caching function lookup info across
calls. This has never actually cached anything, because postgres.c does each fastpath call as a separate transaction command, and so fastpath.c would always decide that its cache was outdated. If it had worked, it would now be failing for calls of oldstyle functions due to dangling pointers in the FmgrInfo struct. Rip it out for simplicity and bug- proofing.
Diffstat (limited to 'src/include/tcop/fastpath.h')
-rw-r--r--src/include/tcop/fastpath.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/include/tcop/fastpath.h b/src/include/tcop/fastpath.h
index 854e78b738e..9c1e10e0179 100644
--- a/src/include/tcop/fastpath.h
+++ b/src/include/tcop/fastpath.h
@@ -3,29 +3,16 @@
* fastpath.h
*
*
- *
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: fastpath.h,v 1.8 2001/01/24 19:43:28 momjian Exp $
- *
- * NOTES
- * This information pulled out of tcop/fastpath.c and put
- * here so that the PQfn() in be-pqexec.c could access it.
- * -cim 2/26/91
+ * $Id: fastpath.h,v 1.9 2001/06/01 15:45:42 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef FASTPATH_H
#define FASTPATH_H
-/* ----------------
- * fastpath #defines
- * ----------------
- */
-#define VAR_LENGTH_RESULT (-1)
-#define VAR_LENGTH_ARG (-5)
-
extern int HandleFunctionRequest(void);
#endif /* FASTPATH_H */