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 1jPbKa-0005eY-Iv for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Apr 2020 00:27:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jPbKZ-0008FD-F9 for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Apr 2020 00:27:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPbKZ-0008CO-8e for pgsql-hackers@lists.postgresql.org; Sat, 18 Apr 2020 00:27:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPbKW-00063G-Vm for pgsql-hackers@lists.postgresql.org; Sat, 18 Apr 2020 00:27:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 03I0RP48010488; Fri, 17 Apr 2020 20:27:25 -0400 From: Tom Lane To: "David G. Johnston" cc: Robert Haas , Alvaro Herrera , Steven Pousty , Pavel Stehule , Isaac Morland , Pierre Giraud , PostgreSQL Developers Subject: Re: Poll: are people okay with function/operator table redesign? In-reply-to: References: <20200416230304.GA28390@alvherre.pgsql> <17560.1587083109@sss.pgh.pa.us> <20266.1587148695@sss.pgh.pa.us> <6099.1587164691@sss.pgh.pa.us> <6655.1587165419@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Fri, 17 Apr 2020 16:40:25 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10486.1587169645.1@sss.pgh.pa.us> Date: Fri, 17 Apr 2020 20:27:25 -0400 Message-ID: <10487.1587169645@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "David G. Johnston" writes: > On Fri, Apr 17, 2020 at 4:17 PM Tom Lane wrote: >> We do have some postfix operators still ... although it looks like >> there's only one in core. In any case, the signature line is *the* >> thing that is supposed to specify what the syntax is, so I'm not >> too pleased with using an ambiguous notation for it. > Neither: > - (NONE, integer) > nor > ! (integer, NONE) > seem bad, and do make very obvious how they are different. > The left margin scanning ability for the symbol (hey, I have an expression > here that uses @>, what does that do?) seems worth the bit of novelty > required. Meh. If we're worried about that, personally I'd much rather put back the separate left-hand column with just the operator name. We could also experiment with bold-facing the operator names, as somebody suggested upthread. regards, tom lane