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

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates
Date: 2009-12-25 18:57:01
Message-ID: 162867790912251057l2ab21ff4l413b78fe493de832@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/12/25 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-12-25 19:00:03 Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates
Previous Message Pavel Stehule 2009-12-25 18:54:27 Re: info about patch: using parametrised query in psql