aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/jsonb_plpython2u.control
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2019-03-12 16:40:05 -0700
committerPeter Geoghegan <pg@bowt.ie>2019-03-12 16:40:05 -0700
commit3f34283973a342aa1cb709d6e8f5cea430efcf29 (patch)
tree891ed9ba9784bd023fc75a86f8700de1caeb797f /contrib/jsonb_plpython/jsonb_plpython2u.control
parentf1d85aa98ee71d9662309f6f0384b2f7f8f16f02 (diff)
downloadpostgresql-3f34283973a342aa1cb709d6e8f5cea430efcf29.tar.gz
postgresql-3f34283973a342aa1cb709d6e8f5cea430efcf29.zip
Correct obsolete nbtree page split comment.
Commit 40dae7ec537, which made the nbtree page split algorithm more robust, made _bt_insert_parent() only unlock the right child of the parent page before inserting a new downlink into the parent. Update a comment from the Berkeley days claiming that both left and right child pages are unlocked before the new downlink actually gets inserted. The claim that it is okay to release both locks early based on Lehman and Yao's say-so never made much sense. Lehman and Yao must sometimes "couple" buffer locks across a pair of internal pages when relocating a downlink, unlike the corresponding code within _bt_getstack().
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython2u.control')
0 files changed, 0 insertions, 0 deletions