pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
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, 1 Oct 2018 16:37:36 -0700
Message-ID: <20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de> (raw)
In-Reply-To: <E1g6fwj-0003Cs-F2@gemulon.postgresql.org>
References: <E1g6fwj-0003Cs-F2@gemulon.postgresql.org>

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




view thread (3+ messages)  latest in thread

Message-ID: <20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de>
Permalink:  ../20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20181001233736.us4fas4ypbpc5g22@alap3.anarazel.de

 · 

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

* 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