pgsql: Reuse all-zero pages in GIN.
pgsql: Reuse all-zero pages in GIN.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Reuse all-zero pages in GIN. In GIN, an all-zeros page would be leaked forever, and never reused. Just add them to the FSM in vacuum, and they will be reinitialized when grabbed from the FSM. On master and 9.5, attempting to access the page's opaque struct also caused an assertion failure, although that was otherwise harmless. Reported by Jeff Janes. Backpatch to all supported versions. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/746e7f1c187b1dae02b049b1918e5471d7fedfb6 Modified Files -------------- src/backend/access/gin/ginvacuum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)