pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org, Mark Dilger <hornschnorter@gmail.com>
Subject: Re: "SELECT ... FROM DUAL" is not quite as silly as it appears
Date: Thu, 29 Nov 2018 14:13:07 -0500
Message-ID: <12461.1543518787@sss.pgh.pa.us> (raw)
In-Reply-To: <338a18ad-344a-8e79-a950-45a41b4b2a33@postgrespro.ru>
References: <15944.1521127664@sss.pgh.pa.us>
	<154342395130.2093.8013327151440360209.pgcf@coridan.postgresql.org>
	<154342412161.2094.14859341952034622342.pgcf@coridan.postgresql.org>
	<6d51c9bb-ccc6-92fd-b6ac-05f0d5546d70@postgrespro.ru>
	<338a18ad-344a-8e79-a950-45a41b4b2a33@postgrespro.ru>

Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru> writes:
> Oh, one more thing: I see a warning without --enable-cassert in 
> create_resultscan_plan, because rte is only used in an Assert.
> src/backend/optimizer/plan/createplan.c:3457:17: warning: variable ‘rte’ 
> set but not used [-Wunused-but-set-variable]
>    RangeTblEntry *rte;

Ooops, I had not seen this before sending v4 patch.  Doesn't seem worth
posting a v5 for, but I'll be sure to fix it.

			regards, tom lane




view thread (33+ messages)  latest in thread

Message-ID: <12461.1543518787@sss.pgh.pa.us>
Permalink:  ../12461.1543518787@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12461.1543518787@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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, a.kuzmenkov@postgrespro.ru, hornschnorter@gmail.com
  Subject: Re: "SELECT ... FROM DUAL" is not quite as silly as it appears
  In-Reply-To: <12461.1543518787@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