pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Explain subtlety in nbtree locking protocol.
Date: Sat, 24 Aug 2019 03:26:26 +0000
Message-ID: <E1i1Mh8-00060D-HD@gemulon.postgresql.org> (raw)

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/867d25ccb4c7f290d08c720622ecaae4afd1dc3f

Modified Files
--------------
src/backend/access/nbtree/README      | 27 ++++++++++++++++++++-------
src/backend/access/nbtree/nbtinsert.c |  3 +++
2 files changed, 23 insertions(+), 7 deletions(-)



Message-ID: <E1i1Mh8-00060D-HD@gemulon.postgresql.org>
Permalink:  ../E1i1Mh8-00060D-HD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i1Mh8-00060D-HD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Explain subtlety in nbtree locking protocol.
  In-Reply-To: <E1i1Mh8-00060D-HD@gemulon.postgresql.org>
  References: <E1i1Mh8-00060D-HD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox