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

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;

-- 
Alexander Kuzmenkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company





view thread (33+ messages)  latest in thread

Message-ID: <338a18ad-344a-8e79-a950-45a41b4b2a33@postgrespro.ru>
Permalink:  ../338a18ad-344a-8e79-a950-45a41b4b2a33@postgrespro.ru/
Also on:    postgresql.org/message-id/338a18ad-344a-8e79-a950-45a41b4b2a33@postgrespro.ru

 · 

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: a.kuzmenkov@postgrespro.ru, tgl@sss.pgh.pa.us, hornschnorter@gmail.com
  Subject: Re: "SELECT ... FROM DUAL" is not quite as silly as it appears
  In-Reply-To: <338a18ad-344a-8e79-a950-45a41b4b2a33@postgrespro.ru>

* 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