Department of second thoughts: remove PD_ALL_FROZEN.
authorRobert Haas <rhaas@postgresql.org>
Tue, 8 Mar 2016 13:46:48 +0000 (08:46 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 8 Mar 2016 13:46:48 +0000 (08:46 -0500)
commit77a1d1e79892a20ed15a67be42b96949b8546bf6
tree2558fdac8319cde7e1d6fa9280467580b273e074
parentba0a198fb133eb3426bffdc2e369cce1bafe1612
Department of second thoughts: remove PD_ALL_FROZEN.

Commit a892234f830e832110f63fc0a2afce2fb21d1584 added a second bit per
page to the visibility map, which still seems like a good idea, but it
also added a second page-level bit alongside PD_ALL_VISIBLE to track
whether the visibility map bit was set.  That no longer seems like a
clever plan, because we don't really need that bit for anything.  We
always clear both bits when the page is modified anyway.

Patch by me, reviewed by Kyotaro Horiguchi and Masahiko Sawada.
src/backend/access/heap/heapam.c
src/backend/access/heap/visibilitymap.c
src/backend/commands/vacuumlazy.c
src/include/storage/bufpage.h