Reset unused fields in GIN data leaf page footer.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: d150ff57812ae01a2f78a55f33a46f9b7febf933
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2014-01-24T17:10:10Z
Releases: 9.4.0
Reset unused fields in GIN data leaf page footer.

The maxoff field is not used in the new, compressed page format. Let's
reset it when converting an old-format page to the new format. The code
won't care either way, but this makes it possible to use the field for
something else in the future.

Files

PathChange+/−
src/backend/access/gin/gindatapage.c modified +4 −1
src/backend/access/gin/ginxlog.c modified +1 −0