]> 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:32 +0000 (13:27 +0300)
commit0d202521988e541827adea389b2a3b4e6c351bfe
tree66cb92272e20d3385d765374f7fb80833be09e02
parent39b3739c05688b5cd5d5da8c52fa5476304eff11
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