aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-10-17 08:45:43 +0530
committerAmit Kapila <akapila@postgresql.org>2019-10-21 09:04:35 +0530
commit62f4dd3796dac30e2230baa4afbb7d2a626d9373 (patch)
tree6d5021625893c2f16878aef5c2b99d4545825ffd /contrib/postgres_fdw/postgres_fdw.c
parented5109a616cf98d3b3b2491d043099a6e0a966a2 (diff)
downloadpostgresql-62f4dd3796dac30e2230baa4afbb7d2a626d9373.tar.gz
postgresql-62f4dd3796dac30e2230baa4afbb7d2a626d9373.zip
Fix memory leak introduced in commit 7df159a620.
We memorize all internal and empty leaf pages in the 1st vacuum stage for gist indexes. They are used in the 2nd stage, to delete all the empty pages. There was a memory context page_set_context for this purpose, but we never used it. Reported-by: Amit Kapila Author: Dilip Kumar Reviewed-by: Amit Kapila Backpatch-through: 12, where it got introduced Discussion: https://postgr.es/m/CAA4eK1LGr+MN0xHZpJ2dfS8QNQ1a_aROKowZB+MPNep8FVtwAA@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions