]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use 0-based numbering in comments about backup blocks.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 May 2014 10:21:59 +0000 (13:21 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 May 2014 10:28:26 +0000 (13:28 +0300)
commite0c04b7c3833c3874bf8ca91eb3a8ef45ac00ae4
tree3011a4052924a06ed5391d37098fd07f1eea7ef7
parent777d07d7a34f6af2a977297846a9ae133e727d9c
Use 0-based numbering in comments about backup blocks.

The macros and functions that work with backup blocks in the redo function
use 0-based numbering, so let's use that consistently in the function that
generates the records too. Makes it so much easier to compare the
generation and replay functions.

Backpatch to 9.0, where we switched from 1-based to 0-based numbering.
src/backend/access/nbtree/nbtinsert.c