summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorFujii Masao2014-12-18 12:13:52 +0000
committerFujii Masao2014-12-18 12:13:52 +0000
commit19e065c0492c34fbccbd2c3707ba68cff14195a3 (patch)
treef34ea79704758b2adcaf1e8beafc4d77035d2b5a /src/backend/access/gist/gistbuildbuffers.c
parentccf292cd2ec16c69ddfee3bf72afe113a7595e00 (diff)
Ensure variables live across calls in generate_series(numeric, numeric).
In generate_series_step_numeric(), the variables "start_num" and "stop_num" may be potentially freed until the next call. So they should be put in the location which can survive across calls. But previously they were not, and which could cause incorrect behavior of generate_series(numeric, numeric). This commit fixes this problem by copying them on multi_call_memory_ctx. Andrew Gierth
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions