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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use 0-based numbering in comments about backup blocks.
Date: 2014-05-19 10:30:14
Message-ID: E1WmKpi-0002iT-1p@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0d202521988e541827adea389b2a3b4e6c351bfe

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-05-19 11:16:09 pgsql: Message style fixes to pg_recvlogical
Previous Message Fujii Masao 2014-05-19 08:10:21 pgsql: Fix incorrect column name in pg_stat_replication document.