summaryrefslogtreecommitdiff
path: root/src/include/utils/portal.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-08-19 21:40:56 +0000
committerBruce Momjian <bruce@momjian.us>1997-08-19 21:40:56 +0000
commit1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch)
tree8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/include/utils/portal.h
parentb992e200b8872ecb6652ec85111995f8d4c5aee0 (diff)
downloadpostgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.tar.gz
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/include/utils/portal.h')
-rw-r--r--src/include/utils/portal.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h
index b385097f19..49f907c3f0 100644
--- a/src/include/utils/portal.h
+++ b/src/include/utils/portal.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: portal.h,v 1.3 1996/11/04 11:51:22 scrappy Exp $
+ * $Id: portal.h,v 1.4 1997/08/19 21:40:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -62,7 +62,6 @@ struct PortalD {
#define VACPNAME "<vacuum>"
extern bool PortalNameIsSpecial(char *pname);
-extern void CollectNamedPortals(Portal *portalP, int destroy);
extern void AtEOXact_portals(void);
extern void EnablePortalManager(bool on);
extern Portal GetPortalByName(char *name);
@@ -74,15 +73,10 @@ extern QueryDesc *PortalGetQueryDesc(Portal portal);
extern EState *PortalGetState(Portal portal);
extern Portal CreatePortal(char *name);
extern void PortalDestroy(Portal *portalP);
-extern void PortalResetHeapMemory(Portal portal);
extern void StartPortalAllocMode(AllocMode mode, Size limit);
extern void EndPortalAllocMode(void);
extern PortalVariableMemory PortalGetVariableMemory(Portal portal);
extern PortalHeapMemory PortalGetHeapMemory(Portal portal);
-extern Portal PortalVariableMemoryGetPortal(PortalVariableMemory context);
-extern Portal PortalHeapMemoryGetPortal(PortalHeapMemory context);
-extern PortalHeapMemory PortalVariableMemoryGetHeapMemory(PortalVariableMemory context);
-extern PortalVariableMemory PortalHeapMemoryGetVariableMemory(PortalHeapMemory context);
/* estimate of the maximum number of open portals a user would have,
* used in initially sizing the PortalHashTable in EnablePortalManager()