Use MaxLockMode symbol in more places.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Jan 2022 17:24:44 +0000 (12:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Jan 2022 17:24:44 +0000 (12:24 -0500)
commitba2bc4a7bace6db6657b4e550b11137e31e2f8dc
tree7f46b1cb66b5431c8d8c52b7356b2c16c1fd3fbd
parent9623d8999603dff84e7cb85caca2af82c5f67c8b
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
src/backend/storage/lmgr/lock.c
src/include/storage/lockdefs.h