pgsql: Use MaxLockMode symbol in more places.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use MaxLockMode symbol in more places.
Date: 2022-01-03 17:24:52
Message-ID: E1n4R4m-0002w7-BL@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use MaxLockMode symbol in more places.

As long as we have this macro, it makes sense to use it in
the LockMethodData structures.

Julien Rouhaud

Discussion: https://postgr.es/m/20220103064722.ewdv4evlez5m7mdn@jrouhaud

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ba2bc4a7bace6db6657b4e550b11137e31e2f8dc

Modified Files
--------------
src/backend/storage/lmgr/lock.c | 4 ++--
src/include/storage/lockdefs.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-01-03 19:05:11 pgsql: Clean up error messages related to bad datetime units.
Previous Message Alvaro Herrera 2022-01-03 13:51:28 pgsql: Avoid using DefElemAction in AlterPublicationStmt