diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-29 14:02:58 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-29 14:02:58 -0400 |
commit | 1601830ec20d56dc7bf6b60a34f69841429e4825 (patch) | |
tree | 5cb926ad9e522d7bc554d6d7f0e366c206deeaf4 /src/backend/utils/adt/jsonb_gin.c | |
parent | 9a8e23311cac14168df6644e03d533a4b07f933e (diff) | |
download | postgresql-1601830ec20d56dc7bf6b60a34f69841429e4825.tar.gz postgresql-1601830ec20d56dc7bf6b60a34f69841429e4825.zip |
Make ginbuild's funcCtx be independent of its tmpCtx.
Previously the funcCtx was a child of the tmpCtx, but that was broken
by commit eaa5808e8ec4e82ce1a87103a6b6f687666e4e4c, which made
MemoryContextReset() delete, not reset, child contexts. The behavior of
having a tmpCtx reset also clear the other context seems rather dubious
anyway, so let's just disentangle them. Per report from Erik Rijkers.
In passing, fix badly-inaccurate comments about these contexts.
Diffstat (limited to 'src/backend/utils/adt/jsonb_gin.c')
0 files changed, 0 insertions, 0 deletions