aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2020-05-06 15:35:27 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2020-05-14 12:46:08 +0300
commitae1f9b0a9bc3d2d1e46fcd38c8b2e7ba49238b05 (patch)
tree0ca7fef94ca0715c02fdd58a8851b0c283a88ede /src/tutorial/basics.source
parent891a2007e3987545a2543c1f04cd0682576b39fa (diff)
downloadpostgresql-ae1f9b0a9bc3d2d1e46fcd38c8b2e7ba49238b05.tar.gz
postgresql-ae1f9b0a9bc3d2d1e46fcd38c8b2e7ba49238b05.zip
Fix amcheck for page checks concurrent to replay of btree page deletion
amcheck expects at least hikey to always exist on leaf page even if it is deleted page. But replica reinitializes page during replay of page deletion, causing deleted page to have no items. Thus, replay of page deletion can cause an error in concurrent amcheck run. This commit relaxes amcheck expectation making it tolerate deleted page with no items. Reported-by: Konstantin Knizhnik Discussion: https://postgr.es/m/CAPpHfdt_OTyQpXaPJcWzV2N-LNeNJseNB-K_A66qG%3DL518VTFw%40mail.gmail.com Author: Alexander Korotkov Reviewed-by: Peter Geoghegan Backpatch-through: 11
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions