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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Poll: are people okay with function/operator table redesign?
Дата
Msg-id CA+TgmoZrYwfh4bU+OyhvdvHADBay6CcsseA74vtj8gO_mKOmNQ@mail.gmail.com
обсуждение исходный текст
Ответ на 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
On Fri, Apr 17, 2020 at 6:30 PM David G. Johnston
<david.g.johnston@gmail.com> wrote:
> 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.

I thought about that, too, but I think the way Tom did it is better.
It's much more natural to see it using the syntax with which it will
actually be invoked.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Eugen Konkov
Дата:
Сообщение: Implementation DISTINCT for window aggregate function: SUM
Следующее
От: Robert Haas
Дата:
Сообщение: Re: snapshot too old issues, first around wraparound and then more.