Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1inOVk-0004t2-Me for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jan 2020 15:05:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1inOVj-0000Ix-Im for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jan 2020 15:05:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1inOUq-0005Jy-8a for pgsql-hackers@lists.postgresql.org; Fri, 03 Jan 2020 15:04:16 +0000 Received: from courriel.mines-paristech.fr ([77.158.173.149] helo=antispam-1.ensmp.fr) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1inOUn-0006Ez-H9 for pgsql-hackers@postgresql.org; Fri, 03 Jan 2020 15:04:15 +0000 Received: from smtp-5.mines-paristech.fr (smtp.mines-paristech.fr [77.158.173.146]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by antispam-1.ensmp.fr (antispam.mines-paristech.fr) with ESMTPS id 07D3855E67; Fri, 3 Jan 2020 16:04:10 +0100 (CET) Received: from pseudo (149.64.203.77.rev.sfr.net [77.203.64.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-5.mines-paristech.fr (Postfix) with ESMTPSA id A88BE2024D; Fri, 3 Jan 2020 16:04:09 +0100 (CET) Date: Fri, 3 Jan 2020 16:04:04 +0100 (CET) From: Fabien COELHO X-X-Sender: fabien@pseudo To: Peter Eisentraut cc: Alvaro Herrera , Thomas Munro , pgsql-hackers Subject: Re: Allow an alias to be attached directly to a JOIN ... USING In-Reply-To: <9a5c9ed2-1dd7-8c2a-6b90-0de54f4c13a1@2ndquadrant.com> Message-ID: References: <20190917173742.GA8735@alvherre.pgsql> <9a5c9ed2-1dd7-8c2a-6b90-0de54f4c13a1@2ndquadrant.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CLAMAV-SCAN: ok X-VRSPAM-SCORE: -100 X-VRSPAM-STATE: legit X-VRSPAM-CAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdegfedgjedvucetufdoteggodetrfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvufgjkfhffgggtgesthdtredttdervdenucfhrhhomhephfgrsghivghnucevqffgnffjqfcuoegtohgvlhhhohestghrihdrvghnshhmphdrfhhrqeenucfkphepjeejrddvtdefrdeigedrudegleenucfrrghrrghmpehmohguvgepshhmthhpohhuth X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Peter, > I took another crack at this. Attached is a new patch that addresses > the semantic comments from this and the other thread. It's all a bit > tricky, comments welcome. It seems that this patch does not apply anymore after Tom's 5815696. -- Fabien.