Re: Allow an alias to be attached directly to a JOIN ... USING - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Allow an alias to be attached directly to a JOIN ... USING
Date
Msg-id defcc701-3c63-5c59-b527-03ba1a2f623c@2ndquadrant.com
Whole thread Raw
In response to Re: Allow an alias to be attached directly to a JOIN ... USING  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 2019-09-17 19:37, Alvaro Herrera wrote:
> On 2019-Aug-01, Thomas Munro wrote:
> 
>> Indeed, that seems like a problem, and it's a good question.  You can
>> see this on unpatched master with SELECT x.filler FROM
>> (pgbench_tellers AS t JOIN b USING (bid)) AS x.
> 
> I'm not sure I understand why that problem is a blocker for this patch.

I tried to analyze the spec for what the behavior should be here, but I
got totally lost.  I'll give it another look.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: another look at macOS SIP
Next
From: Tom Lane
Date:
Subject: Re: another look at macOS SIP