]> granicus.if.org Git - postgresql/commit
Explain subtlety in nbtree locking protocol.
authorPeter Geoghegan <pg@bowt.ie>
Sat, 24 Aug 2019 03:24:49 +0000 (20:24 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Sat, 24 Aug 2019 03:24:49 +0000 (20:24 -0700)
commit867d25ccb4c7f290d08c720622ecaae4afd1dc3f
tree0bb206af625f67b9b9d464c25c01e4901dae4440
parent989d23b04beac0c26f44c379b04ac781eaa4265e
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.
src/backend/access/nbtree/README
src/backend/access/nbtree/nbtinsert.c