pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Create an RTE field to record the query's lock mode for each rel
Date: Mon, 01 Oct 2018 19:43:21 -0400
Message-ID: <4015.1538437401@sss.pgh.pa.us> (raw)
In-Reply-To: <20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de>
References: <E1g6fwj-0003Cs-F2@gemulon.postgresql.org>
	<20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> 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.

> 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;
>             ^~~~~~~~~~~

Yeah, I knew it would do that.  I didn't think it was worth working
around, because that issue will go away in the next phase of the
patch (probably tomorrow).

			regards, tom lane




view thread (3+ messages)

Message-ID: <4015.1538437401@sss.pgh.pa.us>
Permalink:  ../4015.1538437401@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4015.1538437401@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: pgsql: Create an RTE field to record the query's lock mode for each rel
  In-Reply-To: <4015.1538437401@sss.pgh.pa.us>
  References: <E1g6fwj-0003Cs-F2@gemulon.postgresql.org> <20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de> <4015.1538437401@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox