| От | Fabien COELHO |
|---|---|
| Тема | Re: New pgbench functions are misnamed |
| Дата | |
| Msg-id | alpine.DEB.2.10.1605050933270.30701@sto обсуждение исходный текст |
| Ответ на | New pgbench functions are misnamed (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | 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. Yep. > 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()? My 0,02€: I like the simplicity of min/max names and I think that anyone would manage to deal with this level of confusion in a pgbench script, so I would not bother. But if it is to be changed, best do it now! -- Fabien.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера