| От | Tom Lane |
|---|---|
| Тема | New pgbench functions are misnamed |
| Дата | |
| Msg-id | 728.1462398072@sss.pgh.pa.us обсуждение |
| Ответы |
Re: New pgbench functions are misnamed
Re: New pgbench functions are misnamed |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера