aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes/memnodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/nodes/memnodes.h')
-rw-r--r--src/include/nodes/memnodes.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/include/nodes/memnodes.h b/src/include/nodes/memnodes.h
index 3eeaad49288..5e036b9b6f5 100644
--- a/src/include/nodes/memnodes.h
+++ b/src/include/nodes/memnodes.h
@@ -17,22 +17,6 @@
#include "nodes/nodes.h"
/*
- * A memory context can have callback functions registered on it. Any such
- * function will be called once just before the context is next reset or
- * deleted. The MemoryContextCallback struct describing such a callback
- * typically would be allocated within the context itself, thereby avoiding
- * any need to manage it explicitly (the reset/delete action will free it).
- */
-typedef void (*MemoryContextCallbackFunction) (void *arg);
-
-typedef struct MemoryContextCallback
-{
- MemoryContextCallbackFunction func; /* function to call */
- void *arg; /* argument to pass it */
- struct MemoryContextCallback *next; /* next in list of callbacks */
-} MemoryContextCallback;
-
-/*
* MemoryContext
* A logical context in which memory allocations occur.
*