diff options
| author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-12-02 21:11:15 +0200 |
|---|---|---|
| committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-12-02 21:11:15 +0200 |
| commit | cbe04e5d729f292bcf9b06f5d774884b4511b18a (patch) | |
| tree | 888b5b9ddcd3a2277ee7855cd335d73b8f773c52 /src/backend/utils/mmgr/dsa.c | |
| parent | c085aab2781989f487364fab2978d9ee791559a4 (diff) | |
Fix amcheck's handling of half-dead B-tree pages
amcheck incorrectly reported the following error if there were any
half-dead pages in the index:
ERROR: mismatch between parent key and child high key in index
"amchecktest_id_idx"
It's expected that a half-dead page does not have a downlink in the
parent level, so skip the test.
Reported-by: Konstantin Knizhnik <knizhnik@garret.ru>
Reviewed-by: Peter Geoghegan <pg@bowt.ie>
Reviewed-by: Mihail Nikalayeu <mihailnikalayeu@gmail.com>
Discussion: https://www.postgresql.org/message-id/33e39552-6a2a-46f3-8b34-3f9f8004451f@garret.ru
Backpatch-through: 14
Diffstat (limited to 'src/backend/utils/mmgr/dsa.c')
0 files changed, 0 insertions, 0 deletions
