postgresql/src/backend/access
Heikki Linnakangas c91a9b5a28 Fix backup-block numbering in redo of b-tree split.
I got the backup block numbers off-by-one in the commit that changed the
way incomplete-splits are handled. I blame the comments, which said
"backup block 1" and "backup block 2", even though the backup blocks
are numbered starting from 0, in the macros and functions used in replay.
Fix the comments and the code.

Per Jeff Janes' bug report about corruption caused by torn page writes.
The incorrect code is new in git master, but backpatch the comment change
down to 9.0, where the numbering in the redo-side macros  was changed.
2014-05-19 13:28:04 +03:00
..
common pgindent run for 9.4 2014-05-06 12:12:18 -04:00
gin Fix bug in lossy-page handling in GIN 2014-05-10 23:28:26 +03:00
gist pgindent run for 9.4 2014-05-06 12:12:18 -04:00
hash pgindent run for 9.4 2014-05-06 12:12:18 -04:00
heap Code review for recent changes in relcache.c. 2014-05-14 14:56:08 -04:00
index pgindent run for 9.4 2014-05-06 12:12:18 -04:00
nbtree Fix backup-block numbering in redo of b-tree split. 2014-05-19 13:28:04 +03:00
rmgrdesc pgindent run for 9.4 2014-05-06 12:12:18 -04:00
spgist pgindent run for 9.4 2014-05-06 12:12:18 -04:00
transam Fix a bunch of functions that were declared static then defined not-static. 2014-05-17 17:57:53 -04:00
Makefile Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00