]> 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:36 +0000 (18:54 +0300)
commit0abe9554fc793f05d5c7f18b4b6682d9f1154922
treeb341ef77dae4f011c8cc3674053417e2ab0556bd
parent7658368cfd5b5a010e57f8eec6cc4c6e19ee635b
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