mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
First phase of memory management rewrite (see backend/utils/mmgr/README
for details). It doesn't really do that much yet, since there are no short-term memory contexts in the executor, but the infrastructure is in place and long-term contexts are handled reasonably. A few long- standing bugs have been fixed, such as 'VACUUM; anything' in a single query string crashing. Also, out-of-memory is now considered a recoverable ERROR, not FATAL. Eliminate a large amount of crufty, now-dead code in and around memory management. Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and backend startup.
This commit is contained in:
@ -28,7 +28,6 @@
|
||||
#include "utils/fcache.h"
|
||||
#include "utils/datum.h"
|
||||
#include "utils/syscache.h"
|
||||
#include "utils/portal.h"
|
||||
#include "utils/builtins.h"
|
||||
#include "catalog/pg_language.h"
|
||||
#include "access/heapam.h"
|
||||
@ -95,4 +94,6 @@ extern void *SPI_repalloc(void *pointer, Size size);
|
||||
extern void SPI_pfree(void *pointer);
|
||||
extern void SPI_freetuple(HeapTuple pointer);
|
||||
|
||||
extern void AtEOXact_SPI(void);
|
||||
|
||||
#endif /* SPI_H */
|
||||
|
Reference in New Issue
Block a user