]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Don't assume that PageIsEmpty() returns true on an all-zeros page.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Jul 2015 15:54:09 +0000 (18:54 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Jul 2015 15:54:32 +0000 (18:54 +0300)
commit588f50f851cdcb3da0755c3ad17a3427f1e57914
treef66edca7c6b26b214e8289d4375b865ad0a5c7bb
parentbafe3b00730184e7f9860cbab545f8b21c1dc70b
Don't assume that PageIsEmpty() returns true on an all-zeros page.

It does currently, and I don't see us changing that any time soon, but we
don't make that assumption anywhere else.

Per Tom Lane's suggestion. Backpatch to 9.2, like the previous patch that
added this assumption.
src/backend/access/spgist/spgvacuum.c