aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2020-03-11 12:00:31 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2020-03-11 12:00:31 +0300
commitd114cc538715e14d29d6de8b6ea1a1d5d3e0edb4 (patch)
treebd76f95a60b937cdbe352a243e479fd99f8aafa8 /src/backend/tcop/postgres.c
parenta88a285c7e343502b55204a211818d12b1b7d6ff (diff)
downloadpostgresql-d114cc538715e14d29d6de8b6ea1a1d5d3e0edb4.tar.gz
postgresql-d114cc538715e14d29d6de8b6ea1a1d5d3e0edb4.zip
Improve checking of child pages in contrib/amcheck.
This commit eliminates lossiness in check for missing parent downlinks in B-tree. Instead of collecting lossy bitmap, we check for missing downlinks while visiting child pages referenced by downlinks of target level. We traverse from previous child page to the subsequent child page by right links. Intermediate pages are candidates to have lost parent downlinks. Also this commit introduces matching of child high key to the pivot key of it's parent. Discussion: https://postgr.es/m/CAPpHfduoF-c4RhOyOm%3D4-Y367%2B8txq9Q6iM_ty0OYc8si1Abww%40mail.gmail.com Author: Alexander Korotkov Reviewed-by: Peter Geoghegan
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions