Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l36dh-0000ld-2K for pgsql-committers@arkaria.postgresql.org; Sat, 23 Jan 2021 00:18:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l36dg-00078G-1D for pgsql-committers@arkaria.postgresql.org; Sat, 23 Jan 2021 00:18:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l36df-000789-S8 for pgsql-committers@lists.postgresql.org; Sat, 23 Jan 2021 00:18:51 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l36dZ-0004lw-Ec for pgsql-committers@lists.postgresql.org; Sat, 23 Jan 2021 00:18:51 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1l36dY-0003sk-Bf; Fri, 22 Jan 2021 19:18:44 -0500 Date: Fri, 22 Jan 2021 19:18:44 -0500 From: Bruce Momjian To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Re-allow DISTINCT in pl/pgsql expressions. Message-ID: <20210123001844.GC25546@momjian.us> References: <20210123000420.GA25546@momjian.us> <1255099.1611360994@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1255099.1611360994@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Jan 22, 2021 at 07:16:34PM -0500, Tom Lane wrote: > Bruce Momjian writes: > > On Fri, Jan 22, 2021 at 09:26:29PM +0000, Tom Lane wrote: > >> Re-allow DISTINCT in pl/pgsql expressions. > > > I am seeing a warning generated by preproc.y, which is generated via > > Perl from gram.y, which was modified by this commit. > > Mea culpa, didn't think to try the ecpg tests. I only found it because of the private test harness I use which checks for anything unusual in the compile logs. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee