Re: pgsql: Create an RTE field to record the query's lock mode for each rel

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Create an RTE field to record the query's lock mode for each rel
Date: 2018-10-01 23:37:36
Message-ID: 20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-10-01 23:43:21 Re: pgsql: Create an RTE field to record the query's lock mode for each rel
Previous Message Peter Eisentraut 2018-10-01 22:32:07 pgsql: Change PROCEDURE to FUNCTION in CREATE EVENT TRIGGER syntax