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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 0abe9554fc793f05d5c7f18b4b6682d9f1154922
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-07-27T15:54:36Z
Releases: 9.2.14
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