Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates
Дата
Msg-id 8330.1261768106@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I was wrong. But it should be syntax error no?

> SELECT foo(expr ORDER BY expr, .....)

> currently it quietly ignore arguments over ORDER BY clause.

No, because you could have more than one ORDER BY item.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: info about patch: using parametrised query in psql
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: info about patch: using parametrised query in psql