I hate to be "that guy", but there are many places in sources where we use LOCKMODE lockmode; variable and exactly one where we use LOCKMODE lmode: it is vacuum_open_relation function. Is it worth a patch?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных