postgresql/src/backend/access
Heikki Linnakangas 22122c83f1 Fix full-page writes of internal GIN pages.
Insertion to a non-leaf GIN page didn't make a full-page image of the page,
which is wrong. The code used to do it correctly, but was changed (commit
853d1c3103) because the redo-routine didn't
track incomplete splits correctly when the page was restored from a full
page image. Of course, that was not right way to fix it, the redo routine
should've been fixed instead. The redo-routine was surreptitiously fixed
in 2010 (commit 4016bdef8a), so all we need
to do now is revert the code that creates the record to its original form.

This doesn't change the format of the WAL record.

Backpatch to all supported versions.
2013-12-03 23:16:01 +02:00
..
common Support multi-argument UNNEST(), and TABLE() syntax for multiple functions. 2013-11-21 19:37:20 -05:00
gin Fix full-page writes of internal GIN pages. 2013-12-03 23:16:01 +02:00
gist Post-pgindent cleanup 2013-06-01 09:38:15 -04:00
hash Consistently use unsigned arithmetic for alignment calculations. 2013-10-20 21:04:52 -04:00
heap Fix a couple of bugs in MultiXactId freezing 2013-11-29 21:47:25 -03:00
index Use InvalidSnapshot, now SnapshotNow, as the default snapshot. 2013-07-23 10:58:32 -04:00
nbtree Use an MVCC snapshot, rather than SnapshotNow, for catalog scans. 2013-07-02 09:47:01 -04:00
rmgrdesc Another gin_desc fix. 2013-11-28 23:35:50 +02:00
spgist Retry after buffer locking failure during SPGiST index creation. 2013-11-02 16:45:42 -04:00
transam Report exit code from external recovery commands properly 2013-12-02 22:31:05 -05:00
Makefile Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00