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

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

Alexander Kuzmenkov <a(dot)kuzmenkov(at)postgrespro(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Dolgov 2018-11-29 19:13:25 Re: libpq compression
Previous Message Tom Lane 2018-11-29 19:11:53 Re: "SELECT ... FROM DUAL" is not quite as silly as it appears