Re: WITHIN GROUP patch
От | Pavel Stehule |
---|---|
Тема | Re: WITHIN GROUP patch |
Дата | |
Msg-id | CAFj8pRBbQTfRRAY8JAVjh=wGgjcnPJoNB58u3SKdpsSi=Z7_sA@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: WITHIN GROUP patch
Re: WITHIN GROUP patch |
Список | pgsql-hackers |
2013/10/9 Pavel Stehule <pavel.stehule@gmail.com>
PavelRegardsProbably some hint should be there?I found so following error message is not too friendly (mainly because this functionality will be new)HelloI checked a conformance with ANSI SQL - and I didn't find any issue.
postgres=# select dense_rank(3,3,2) within group (order by num desc, odd) from test4;
ERROR: Incorrect number of arguments for hypothetical set function
LINE 1: select dense_rank(3,3,2) within group (order by num desc, od...
^
postgres=# select dense_rank(3,3,2) within group (order by num desc) from test4;
ERROR: Incorrect number of arguments for hypothetical set function
LINE 1: select dense_rank(3,3,2) within group (order by num desc) fr...
^
postgres=# select dense_rank(3,3) within group (order by num desc) from test4;
ERROR: Incorrect number of arguments for hypothetical set function
LINE 1: select dense_rank(3,3) within group (order by num desc) from...
^
postgres=# select dense_rank(3,3) within group (order by num desc, num) from test4;
dense_rank
------------
3
(1 row)2013/10/2 Vik Fearing <vik.fearing@dalibo.com>On 09/30/2013 06:34 PM, Pavel Stehule wrote:I had an unexpected emergency come up, sorry about that. I plan on
>
> I looked on this patch - it is one from long patches - so I propose to
> divide review to a few parts:
>
> a) a conformance with ANSI SQL
> b) check of new aggregates - semantic, implementation
> c) source code checking - usual patch review
>
> Now I would to work on @a
doing B and C starting on Thursday (October 3).
I am grateful to have Pavel's help, this is a big patch.
--
Vik
В списке pgsql-hackers по дате отправления: