Add a test for half-dead pages in B-tree indexes
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Author:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2025-12-02T19:11:05Z
Releases:
19 (unreleased)
Add a test for half-dead pages in B-tree indexes To increase our test coverage in general, and because I will use this in the next commit to test a bug we currently have in amcheck. Reviewed-by: Peter Geoghegan <pg@bowt.ie> Discussion: https://www.postgresql.org/message-id/33e39552-6a2a-46f3-8b34-3f9f8004451f@garret.ru
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtpage.c | modified | +7 −0 |
| src/test/modules/nbtree/expected/nbtree_half_dead_pages.out | added | +71 −0 |
| src/test/modules/nbtree/meson.build | modified | +1 −0 |
| src/test/modules/nbtree/sql/nbtree_half_dead_pages.sql | added | +43 −0 |
Discussion
- Bug in amcheck? 13 messages · 2025-10-22 → 2026-01-16