aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-07-03 18:47:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-07-03 18:47:09 -0400
commitecd657974478fc713fdc3a625d648cd6a985e3e6 (patch)
treef12e5b8e077db69de107ed2338ecfa2946434a72 /src/backend/utils/adt/json.c
parent6f5034eda05c4946b65858fb8831d069f2873083 (diff)
downloadpostgresql-ecd657974478fc713fdc3a625d648cd6a985e3e6.tar.gz
postgresql-ecd657974478fc713fdc3a625d648cd6a985e3e6.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