On 2018-09-30 17:55:57 +0000, Tom Lane wrote: > Create an RTE field to record the query's lock mode for each relation.
> Details > ------- > https://git.postgresql.org/pg/commitdiff/fdba460a26af919c0b366755d119f384706e670a This triggers a new warning for me, when building without asserts: /home/andres/src/postgresql/src/backend/executor/execMain.c: In function ‘InitPlan’: /home/andres/src/postgresql/src/backend/executor/execMain.c:963:12: warning: variable ‘rellockmode’ set but not used [-Wunused-but-set-variable] LOCKMODE rellockmode; ^~~~~~~~~~~ Greetings, Andres Freund