Re: "SELECT ... FROM DUAL" is not quite as silly as it appears

From: Alexander Kuzmenkov <a(dot)kuzmenkov(at)postgrespro(dot)ru>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mark Dilger <hornschnorter(at)gmail(dot)com>
Subject: Re: "SELECT ... FROM DUAL" is not quite as silly as it appears
Date: 2018-11-29 18:29:15
Message-ID: 338a18ad-344a-8e79-a950-45a41b4b2a33@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Dolgov 2018-11-29 19:01:52 Re: Progress reporting for pg_verify_checksums
Previous Message Dmitry Dolgov 2018-11-29 18:14:54 Re: [PATCH v19] GSSAPI encryption support