pgsql: Fix amcheck's handling of incomplete root splits in B-tree - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix amcheck's handling of incomplete root splits in B-tree
Date
Msg-id E1vQW1e-002TcE-2b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix amcheck's handling of incomplete root splits in B-tree

When the root page is being split, it's normal that root page
according to the metapage is not marked BTP_ROOT. Fix bogus error in
amcheck about that case.

Reviewed-by: Peter Geoghegan <pg@bowt.ie>
Discussion: https://www.postgresql.org/message-id/abd65090-5336-42cc-b768-2bdd66738404@iki.fi
Backpatch-through: 14

Branch
------
REL_16_STABLE

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

Modified Files
--------------
contrib/amcheck/verify_nbtree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Show size of DSAs and dshashes in pg_dsm_registry_allocations.
Next
From: Nathan Bossart
Date:
Subject: pgsql: Use LW_SHARED in dsa.c where possible.