Use MaxLockMode symbol in more places.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/lock.c | modified | +2 −2 |
| src/include/storage/lockdefs.h | modified | +1 −1 |
Discussion
- Use MaxLockMode in lock methods initialization 3 messages · 2022-01-03