pgsql: Add a test for half-dead pages in B-tree indexes
pgsql: Add a test for half-dead pages in B-tree indexes
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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 Discussion: https://www.postgresql.org/message-id/33e39552-6a2a-46f3-8b34-3f9f8004451f@garret.ru 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(+)