Re: string_agg delimiter having no effect with order by

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: string_agg delimiter having no effect with order by
Дата
Msg-id 2220.1281021937@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: string_agg delimiter having no effect with order by  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: string_agg delimiter having no effect with order by  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-bugs
Pavel Stehule <pavel.stehule@gmail.com> writes:
>>>> The same problem can be with custom aggregates :( so this syntax isn't
>>>> too robust.

BTW, I'm really not worried about that case.  By the time someone is
advanced enough to have written their own multi-argument aggregate
definitions, they'll have absorbed the idea that the ORDER BY goes at
the end.  What we need to accomplish here is just to not set traps at
the feet of novices using the feature for the first time.  Which is
why I think it's sufficient to have a policy of not having built-in
aggregates that conflict in this way; I'm not proposing that we restrict
or discourage custom aggregates with optional arguments.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5599: Vacuum fails due to index corruption issues
Следующее
От: Alex Hunsaker
Дата:
Сообщение: Re: BUG #5601: cannot create language plperl;