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 <[email protected]> Discussion: https://www.postgresql.org/message-id/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c085aab2781989f487364fab2978d9ee791559a4 Modified Files -------------- src/backend/access/nbtree/nbtpage.c | 7 +++ .../nbtree/expected/nbtree_half_dead_pages.out | 71 ++++++++++++++++++++++ src/test/modules/nbtree/meson.build | 1 + .../modules/nbtree/sql/nbtree_half_dead_pages.sql | 43 +++++++++++++ 4 files changed, 122 insertions(+)
