Re: Poll: are people okay with function/operator table redesign?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Poll: are people okay with function/operator table redesign?
Дата
Msg-id CAKFQuwZhr5-dpRVWhHqxHVDEsenYoNuFuCKN66mvRxdykBzLGA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Poll: are people okay with function/operator table redesign?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Poll: are people okay with function/operator table redesign?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Poll: are people okay with function/operator table redesign?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Poll: are people okay with function/operator table redesign?