Explain subtlety in nbtree locking protocol.

Peter Geoghegan <pg@bowt.ie>

Commit: 867d25ccb4c7f290d08c720622ecaae4afd1dc3f
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2019-08-24T03:24:49Z
Releases: 13.0
Explain subtlety in nbtree locking protocol.

The Postgres approach to coupling locks during an ascent of the tree is
slightly different to the approach taken by Lehman and Yao.  Add a new
paragraph to the "Differences to the Lehman & Yao algorithm" section of
the nbtree README that explains the similarities and differences.

Files

PathChange+/−
src/backend/access/nbtree/nbtinsert.c modified +3 −0
src/backend/access/nbtree/README modified +20 −7