From 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 19 Aug 1997 21:40:56 +0000 Subject: Make functions static where possible, enclose unused functions in #ifdef NOT_USED. --- src/include/utils/portal.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/include/utils/portal.h') 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 "" 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() -- cgit v1.2.1