postgresql/src/backend/access
Amit Kapila 70a6c37d52 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
2019-10-21 08:57:32 +05:30
..
brin Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
common Rename some toasting functions based on whether they are heap-specific. 2019-10-04 14:24:46 -04:00
gin Fix overflow check and comment in GIN posting list encoding. 2019-08-28 12:55:33 +03:00
gist Fix memory leak introduced in commit 7df159a620. 2019-10-21 08:57:32 +05:30
hash Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
heap Flush logical mapping files with fd opened for read/write at checkpoint 2019-10-09 13:30:43 +09:00
index Fix freeing old values in index_store_float8_orderby_distances() 2019-09-20 01:19:08 +03:00
nbtree Remove redundant _bt_truncate() comment paragraph. 2019-09-12 09:51:27 -07:00
rmgrdesc Fix nbtree page split rmgr desc routine. 2019-09-12 15:45:08 -07:00
spgist Fix bug in pairingheap_SpGistSearchItem_cmp() 2019-09-25 01:47:36 +03:00
table Rename some toasting functions based on whether they are heap-specific. 2019-10-04 14:24:46 -04:00
tablesample Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
transam Fix failure of archive recovery with recovery_min_apply_delay enabled. 2019-10-18 22:32:18 +09:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00