Re: Poll: are people okay with function/operator table redesign?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Poll: are people okay with function/operator table redesign? |
| Дата | |
| Msg-id | 6099.1587164691@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Poll: are people okay with function/operator table redesign? ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Ответы |
Re: Poll: are people okay with function/operator table redesign?
|
| Список | pgsql-hackers |
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> I feel like writing them as:
> + (date, integer) -> date
> makes more sense as they are mainly sorted on the operator symbol as
> opposed to the left operand.
Hmm ... we do use that syntax in some fairly-obscure places like
ALTER OPERATOR, but I'm afraid that novice users would just be
completely befuddled. Maybe the examples would be enough to clarify,
but I'm not convinced. Especially not for unary operators, where
ALTER OPERATOR would have us write "- (NONE, integer)".
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера