Use MaxLockMode in lock methods initialization

Julien Rouhaud <rjuju123@gmail.com>

From: Julien Rouhaud <rjuju123@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2022-01-03T06:47:22Z
Lists: pgsql-hackers

Attachments

Hi,

While reading some code around I noticed that b04aeb0a053e7 added a MaxLockMode
but didn't update the lock methods initialization.  It shouldn't make much
difference in the long run but some consistency seems better to me.

Commits

  1. Use MaxLockMode symbol in more places.