Don't assume that PageIsEmpty() returns true on an all-zeros page.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 588f50f851cdcb3da0755c3ad17a3427f1e57914
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-07-27T15:54:32Z
Releases: 9.3.10
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.

Files

PathChange+/−
src/backend/access/spgist/spgvacuum.c modified +1 −1