pgsql: Fix and improve description of locktag types in lock.h

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix and improve description of locktag types in lock.h
Date: 2019-05-10 00:36:06
Message-ID: E1hOtWA-0005t1-NM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2019-05-10 00:58:05 pgsql: doc: PG 12 wording improvments
Previous Message Bruce Momjian 2019-05-10 00:32:38 pgsql: doc: more PG 12 wording adjustments