New pgbench functions are misnamed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема New pgbench functions are misnamed
Дата
Msg-id 728.1462398072@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: New pgbench functions are misnamed  (Robert Haas <robertmhaas@gmail.com>)
Re: New pgbench functions are misnamed  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
I noticed that commit 7e137f846 added functions named max() and min()
to pgbench's expression syntax.  Unfortunately, these functions have
zilch to do with what max() and min() do in SQL.  They're actually more
like the greatest() and least() server-side functions.

While I can't imagine that we'd ever want to implement true aggregates
in pgbench expressions, it still seems like this is a recipe for
confusion.  Shouldn't we rename these to greatest() and least()?
        regards, tom lane



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: pg_dump broken for non-super user
Следующее
От: Andres Freund
Дата:
Сообщение: Re: atomic pin/unpin causing errors