Re: pgsql: Create an RTE field to record the query's lock mode foreach rel - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Create an RTE field to record the query's lock mode foreach rel
Date
Msg-id 20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de
Whole thread Raw
In response to pgsql: Create an RTE field to record the query's lock mode for eachrel  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Create an RTE field to record the query's lock mode for each rel
List pgsql-committers
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


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Change PROCEDURE to FUNCTION in CREATE EVENT TRIGGER syntax
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Create an RTE field to record the query's lock mode for each rel