• Heikki Linnakangas's avatar
    Make GiST indexes on-disk compatible with 9.2 again. · 9ee4d06f
    Heikki Linnakangas authored
    The patch that turned XLogRecPtr into a uint64 inadvertently changed the
    on-disk format of GiST indexes, because the NSN field in the GiST page
    opaque is an XLogRecPtr. That breaks pg_upgrade. Revert the format of that
    field back to the two-field struct that XLogRecPtr was before. This is the
    same we did to LSNs in the page header to avoid changing on-disk format.
    
    Bump catversion, as this invalidates any existing GiST indexes built on
    9.3devel.
    9ee4d06f
gist.h 5.75 KB