]> 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:21 +0000 (13:27 +0300)
commit0128a7712d445e2ecc69105b34cd17f7eb6e0af5
treebed39592882806626136bfac7417951e98bc909c
parent0d4c75f4de68012bb6f3bc52ebb58234334259d2
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