summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorTom Lane2011-09-11 20:29:42 +0000
committerTom Lane2011-09-11 20:29:42 +0000
commitb0025bd95703aaedc4ff23ddcfbde9597fa0919d (patch)
tree23e4a900474f51b2c7932fffcf276e8141e0c389 /src/backend/access/gist/gistbuild.c
parent5f42e5945b3dd96c228531c0730f418846ced04e (diff)
Invent a new memory context primitive, MemoryContextSetParent.
This function will be useful for altering the lifespan of a context after creation (for example, by creating it under a transient context and later reparenting it to belong to a long-lived context). It costs almost no new code, since we can refactor what was there. Per my proposal of yesterday.
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions