diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-07-03 18:47:09 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-07-03 18:47:22 -0400 |
commit | e44964c709b4a5f18d3f9a8fe6d5c259091315c1 (patch) | |
tree | 472b61f117ddf3ae1ad4eecf7acb93c17bfde66f /src/backend/utils/adt/json.c | |
parent | f688cf548b3e37991009b7a3607171242c796e62 (diff) | |
download | postgresql-e44964c709b4a5f18d3f9a8fe6d5c259091315c1.tar.gz postgresql-e44964c709b4a5f18d3f9a8fe6d5c259091315c1.zip |
Don't cache per-group context across the whole query in orderedsetaggs.c.
Although nodeAgg.c currently uses the same per-group memory context for
all groups of a query, that might change in future. Avoid assuming it.
This costs us an extra AggCheckCallContext() call per group, but that's
pretty cheap and is probably good from a safety standpoint anyway.
Back-patch to 9.4 in case any third-party code copies this logic.
Andrew Gierth
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions