aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogreader.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-07-27 12:30:26 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-07-27 12:30:26 +0300
commit334445179c82ba304480ecbd00ae4237587e4baf (patch)
tree3901ee1914c6af9cb5e4188e1f2b714ff3f7eee1 /src/backend/access/transam/xlogreader.c
parent023430abf72eb7d335430e241065d5ed19ddd94b (diff)
downloadpostgresql-334445179c82ba304480ecbd00ae4237587e4baf.tar.gz
postgresql-334445179c82ba304480ecbd00ae4237587e4baf.zip
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.
Diffstat (limited to 'src/backend/access/transam/xlogreader.c')
0 files changed, 0 insertions, 0 deletions