Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates
Date
Msg-id 162867790912251057l2ab21ff4l413b78fe493de832@mail.gmail.com
Whole thread Raw
In response to Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
2009/12/25 Tom Lane <tgl@sss.pgh.pa.us>:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> It is maybe a bug. I cannot use ORDER BY clause in two parameter aggregate.
>
> I think you don't understand the syntax.  Put the aggregate arguments
> first, then the ORDER BY.
>

Sorry, I don't see it. Please, could you be more descriptive.

>                        regards, tom lane
>


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: info about patch: using parametrised query in psql
Next
From: Pavel Stehule
Date:
Subject: Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates