aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2020-08-05 02:15:34 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2020-08-05 02:16:13 +0300
commitf47b5e139579a77c1f7c63400f01ea39d515e8c8 (patch)
treec01cbe3fdeb976b903728cff101e3840ec8cce3f /src/backend/commands/explain.c
parent0f76294260b92849c4958fb706ecd5b5cd73e40e (diff)
downloadpostgresql-f47b5e139579a77c1f7c63400f01ea39d515e8c8.tar.gz
postgresql-f47b5e139579a77c1f7c63400f01ea39d515e8c8.zip
Remove btree page items after page unlink
Currently, page unlink leaves remaining items "as is", but replay of corresponding WAL-record re-initializes page leaving it with no items. For the sake of consistency, this commit makes primary delete all the items during page unlink as well. Thanks to this change, we now don't mask contents of deleted btree page for WAL consistency checking. Discussion: https://postgr.es/m/CAPpHfdt_OTyQpXaPJcWzV2N-LNeNJseNB-K_A66qG%3DL518VTFw%40mail.gmail.com Author: Alexander Korotkov Reviewed-by: Peter Geoghegan
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions