mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Reversed out Massimo patch.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: portal.h,v 1.14 1999/06/12 14:05:40 momjian Exp $
|
||||
* $Id: portal.h,v 1.15 1999/06/12 14:07:32 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -80,10 +80,6 @@ extern void EndPortalAllocMode(void);
|
||||
extern PortalVariableMemory PortalGetVariableMemory(Portal portal);
|
||||
extern PortalHeapMemory PortalGetHeapMemory(Portal portal);
|
||||
|
||||
#ifdef FREE_TUPLE_MEMORY
|
||||
bool PortalHeapMemoryIsValid(MemoryContext context, Pointer pointer);
|
||||
#endif
|
||||
|
||||
/* estimate of the maximum number of open portals a user would have,
|
||||
* used in initially sizing the PortalHashTable in EnablePortalManager()
|
||||
*/
|
||||
|
||||
@@ -64,9 +64,6 @@ enum pg_option_enum {
|
||||
OPT_SYSLOG, /* use syslog for error messages */
|
||||
OPT_HOSTLOOKUP, /* enable hostname lookup in ps_status */
|
||||
OPT_SHOWPORTNUMBER, /* show port number in ps_status */
|
||||
#ifdef FREE_TUPLE_MEMORY
|
||||
OPT_FREE_TUPLE_MEMORY, /* try to pfree memory for each tuple */
|
||||
#endif
|
||||
|
||||
NUM_PG_OPTIONS /* must be the last item of enum */
|
||||
};
|
||||
@@ -86,9 +83,9 @@ extern int pg_options[NUM_PG_OPTIONS];
|
||||
#endif /* TRACE_H */
|
||||
|
||||
/*
|
||||
* Local Variables:
|
||||
* tab-width: 4
|
||||
* c-indent-level: 4
|
||||
* c-basic-offset: 4
|
||||
* Local variables:
|
||||
* tab-width: 4
|
||||
* c-indent-level: 4
|
||||
* c-basic-offset: 4
|
||||
* End:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user