summaryrefslogtreecommitdiff
path: root/src/include/utils/memutils.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-03-01 12:31:32 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-03-01 12:31:32 -0500
commit097fe194aa7c590b4fa43d5e40c083940859c286 (patch)
treed3ba8b6c0fc633346d927b390f413df9021368a6 /src/include/utils/memutils.h
parente059e02e43cd825616192d010e9e638a96ad4717 (diff)
Move memory context callback declarations into palloc.h.
Initial experience with this feature suggests that instances of MemoryContextCallback are likely to propagate into some widely-used headers over time. As things stood, that would result in pulling memutils.h or at least memnodes.h into common headers, which does not seem desirable. Instead, let's decide that this feature is part of the "ordinary palloc user" API rather than the "specialized context management" API, and as such should be declared in palloc.h not memutils.h.
Diffstat (limited to 'src/include/utils/memutils.h')
-rw-r--r--src/include/utils/memutils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/utils/memutils.h b/src/include/utils/memutils.h
index dbb163a1536..9e84d01103f 100644
--- a/src/include/utils/memutils.h
+++ b/src/include/utils/memutils.h
@@ -97,8 +97,6 @@ extern void MemoryContextDelete(MemoryContext context);
extern void MemoryContextResetOnly(MemoryContext context);
extern void MemoryContextResetChildren(MemoryContext context);
extern void MemoryContextDeleteChildren(MemoryContext context);
-extern void MemoryContextRegisterResetCallback(MemoryContext context,
- MemoryContextCallback *cb);
extern void MemoryContextSetParent(MemoryContext context,
MemoryContext new_parent);
extern Size GetMemoryChunkSpace(void *pointer);