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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Use 0-based numbering in comments about backup blocks.
Дата
Msg-id E1WmKpi-0002iP-1y@gemulon.postgresql.org
обсуждение исходный текст
Список 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e0c04b7c3833c3874bf8ca91eb3a8ef45ac00ae4

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Use 0-based numbering in comments about backup blocks.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Message style fixes to pg_recvlogical