]> granicus.if.org Git - postgresql/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:27:44 +0000 (13:27 +0300)
commit42279b291a2de8e4bd5ecaf4f8214337e4b0c936
tree82a43fd2fa33f8e861bd7813f3a9bab4ceca414c
parent0fc94340753f19da8acca5fc53039adbf2fa3632
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