I hate to be "that guy", but there are many places in sources where we useLOCKMODE lockmode; variable and exactly one where we use LOCKMODElmode: it is vacuum_open_relation function.Is it worth a patch?