pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix and improve description of locktag types in lock.h
Date: Fri, 10 May 2019 00:36:06 +0000
Message-ID: <E1hOtWA-0005t1-NM@gemulon.postgresql.org> (raw)

Fix and improve description of locktag types in lock.h

The description of the lock type for speculative insertions was
incorrect, being copy-pasted from another one.

As discussed, also move the description for all the fields of lock tag
types from the structure listing lock tag types to the set of macros
setting each LOCKTAG.

Author: John Naylor
Discussion: https://postgr.es/m/CACPNZCtA0-ybaC4fFfaDq_8p_TUOLvGxZH9Dm-=TMHZJarBa7Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/752f06443fba7e906cd98987f247297663f19a16

Modified Files
--------------
src/include/storage/lock.h | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)



Message-ID: <E1hOtWA-0005t1-NM@gemulon.postgresql.org>
Permalink:  ../E1hOtWA-0005t1-NM@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hOtWA-0005t1-NM@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: michael@paquier.xyz
  Subject: Re: pgsql: Fix and improve description of locktag types in lock.h
  In-Reply-To: <E1hOtWA-0005t1-NM@gemulon.postgresql.org>
  References: <E1hOtWA-0005t1-NM@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