pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix amcheck's handling of incomplete root splits in B-tree
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix amcheck's handling of incomplete root splits in B-tree
@ 2025-12-02 19:27 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2025-12-02 19:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix amcheck's handling of incomplete root splits in B-tree
@ 2025-12-02 19:27 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2025-12-02 19:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/50c63ebb05fc850010f571441b0349414e21c87f

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix amcheck's handling of incomplete root splits in B-tree
@ 2025-12-02 19:27 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2025-12-02 19:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5a2d1df007182ee4b61530bf798f1cb48376d3c5

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix amcheck's handling of incomplete root splits in B-tree
@ 2025-12-02 19:27 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2025-12-02 19:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix amcheck's handling of incomplete root splits in B-tree
@ 2025-12-02 19:27 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2025-12-02 19:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/721b58fbec5f4a167540177659a2502383bc0c58

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix amcheck's handling of incomplete root splits in B-tree
@ 2025-12-02 19:27 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2025-12-02 19:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2025-12-02 19:27 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-12-02 19:27 pgsql: Fix amcheck's handling of incomplete root splits in B-tree Heikki Linnakangas <heikki.linnakangas@iki.fi>
2025-12-02 19:27 pgsql: Fix amcheck's handling of incomplete root splits in B-tree Heikki Linnakangas <heikki.linnakangas@iki.fi>
2025-12-02 19:27 pgsql: Fix amcheck's handling of incomplete root splits in B-tree Heikki Linnakangas <heikki.linnakangas@iki.fi>
2025-12-02 19:27 pgsql: Fix amcheck's handling of incomplete root splits in B-tree Heikki Linnakangas <heikki.linnakangas@iki.fi>
2025-12-02 19:27 pgsql: Fix amcheck's handling of incomplete root splits in B-tree Heikki Linnakangas <heikki.linnakangas@iki.fi>
2025-12-02 19:27 pgsql: Fix amcheck's handling of incomplete root splits in B-tree Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox