Re: max(*)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: max(*)
Дата
Msg-id 28527.1148672271@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: max(*)  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> My concern is that it's not inconceiveable to typo max(field) into
> max(*), which could make for a rather frustrating error. Not to mention
> this being something that could trip newbies up. If nothing else I'd say
> it warrants a %TODO just so it doesn't end up on the PostgreSQL gotcha's
> page. :)

count(*) has been implemented that way since about 1999, and no one's
complained yet, so I think you are overstating the importance of the
problem.
        regards, tom lane


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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: max(*)
Следующее
От: Andreas Seltenreich
Дата:
Сообщение: Re: GIN stuck in loop during PITR