Re: Poll: are people okay with function/operator table redesign? - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Poll: are people okay with function/operator table redesign?
Date
Msg-id CAKFQuwZhr5-dpRVWhHqxHVDEsenYoNuFuCKN66mvRxdykBzLGA@mail.gmail.com
Whole thread Raw
In response to Re: Poll: are people okay with function/operator table redesign?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Poll: are people okay with function/operator table redesign?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Apr 17, 2020 at 4:04 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: 
Especially not for unary operators, where
ALTER OPERATOR would have us write "- (NONE, integer)".

I'd drop the parens for unary and just write "- integer"

It is a bit geeky but then again SQL writers are not typically computer language novices so operators should be comfortable for them and this isn't that off-the-wall.  But I agree with the concern.

David J.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Poll: are people okay with function/operator table redesign?
Next
From: Tom Lane
Date:
Subject: Re: Poll: are people okay with function/operator table redesign?