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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix amcheck's handling of incomplete root splits in B-tree
Дата
Msg-id E1vQW1e-002Tc0-2B@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6c05ef5729c04d47400660cd994305bc44a3c757

Modified Files
--------------
contrib/amcheck/verify_nbtree.c                               | 2 +-
src/test/modules/nbtree/Makefile                              | 2 +-
src/test/modules/nbtree/expected/nbtree_incomplete_splits.out | 7 +++++++
src/test/modules/nbtree/sql/nbtree_incomplete_splits.sql      | 7 +++++++
4 files changed, 16 insertions(+), 2 deletions(-)


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