Use MaxLockMode symbol in more places.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ba2bc4a7bace6db6657b4e550b11137e31e2f8dc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-01-03T17:24:44Z
Releases: 15.0
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

Files

PathChange+/−
src/backend/storage/lmgr/lock.c modified +2 −2
src/include/storage/lockdefs.h modified +1 −1

Discussion