From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Allow an alias to be attached directly to a JOIN ... USING
Date: Tue, 17 Sep 2019 22:14:04 +0200
Message-ID: <defcc701-3c63-5c59-b527-03ba1a2f623c@2ndquadrant.com> (raw)
In-Reply-To: <20190917173742.GA8735@alvherre.pgsql>
References: <20190917173742.GA8735@alvherre.pgsql>
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, alvherre@2ndquadrant.com, thomas.munro@gmail.com, coelho@cri.ensmp.fr
Subject: Re: Allow an alias to be attached directly to a JOIN ... USING
In-Reply-To: <defcc701-3c63-5c59-b527-03ba1a2f623c@2ndquadrant.com>
References: <20190917173742.GA8735@alvherre.pgsql> <defcc701-3c63-5c59-b527-03ba1a2f623c@2ndquadrant.com>
* 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