Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wl7Bl-00133w-1N for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jul 2026 15:42:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wl7Bk-003FTJ-13 for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jul 2026 15:42:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wl7Bk-003FTB-0I for pgsql-bugs@lists.postgresql.org; Sat, 18 Jul 2026 15:42:52 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wl7Bh-00000000wNo-3PxA for pgsql-bugs@lists.postgresql.org; Sat, 18 Jul 2026 15:42:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 66IFgdkV011152; Sat, 18 Jul 2026 11:42:39 -0400 From: Tom Lane To: Pierre Forstmann cc: pierre@senellart.com, pgsql-bugs@lists.postgresql.org Subject: Re: [patch] BUG #19558: User-defined prefix operators "|" and "->" no longer parse in 19beta2 (SQL/PGQ grammar change) In-reply-to: <02aea982-c656-462d-a412-1fb2e388f754@gmail.com> References: <19558-ad1fca59a3a471a0@postgresql.org> <02aea982-c656-462d-a412-1fb2e388f754@gmail.com> Comments: In-reply-to Pierre Forstmann message dated "Sat, 18 Jul 2026 17:38:41 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11150.1784389359.1@sss.pgh.pa.us> Date: Sat, 18 Jul 2026 11:42:39 -0400 Message-ID: <11151.1784389359@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Pierre Forstmann writes: > I propose following patch that adds missing grammar rules: Why are you promoting these to UMINUS binding precedence? AFAICS they would have had Op precedence before v19 (and still do, as binary operators). regards, tom lane