pgsql: Fix wal_consistency_checking nbtree bug. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Fix wal_consistency_checking nbtree bug.
Date
Msg-id E1kaoH5-0006I0-Ck@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix wal_consistency_checking nbtree bug.

wal_consistency_checking indicated an inconsistency in certain cases
involving nbtree page deletion.  The underlying issue is that there was
a minor difference between the page image produced after a REDO routine
ran and the corresponding page image following original execution.

This harmless inconsistency has been around forever.  We more or less
expect total consistency among even deleted nbtree pages these days,
though, so this won't do anymore.

To fix, tweak the REDO routine to match original execution.

Oversight in commit f47b5e13.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/efc5dcfd8ad4e1df633025d8a91b64cd44d93f42

Modified Files
--------------
src/backend/access/nbtree/nbtxlog.c | 2 ++
1 file changed, 2 insertions(+)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pgsql: Add pg_depend.refobjversion.
Next
From: Amit Kapila
Date:
Subject: pgsql: Use strlcpy instead of memcpy for copying the slot name in pgsta