pgsql: Use 0-based numbering in comments about backup blocks. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Use 0-based numbering in comments about backup blocks.
Date
Msg-id E1WmKpi-0002iR-1e@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0128a7712d445e2ecc69105b34cd17f7eb6e0af5

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c |   10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix backup-block numbering in redo of b-tree split.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Use 0-based numbering in comments about backup blocks.