aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plperl/jsonb_plperl.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 08:57:32 +0530
commit70a6c37d524cc2c29712424785be3d9e2e62f484 (patch)
tree51648d7845a0906802c9d64d652e67b549b6758b /contrib/jsonb_plperl/jsonb_plperl.c
parentba19a6b73c5bd771d8864171ede03503a9ff564e (diff)
downloadpostgresql-70a6c37d524cc2c29712424785be3d9e2e62f484.tar.gz
postgresql-70a6c37d524cc2c29712424785be3d9e2e62f484.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/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions