Re: Aggregate ORDER BY patch

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Aggregate ORDER BY patch
Дата
Msg-id 874oovjh5t.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: Aggregate ORDER BY patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Aggregate ORDER BY patch
Список pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
Tom> I agree with Hitoshi that this seems to be a hack to deal with the[snip]

So copying the way that SELECT DISTINCT works would be the way to go?
i.e. keeping separate lists in the parse node for sorting and distinct?

What about error handling? If the user specifies agg(distinct x) where
x is not sortable, do we leave it to the planner to detect that (which
means not reporting the error position?)

-- 
Andrew.


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: named parameters in SQL functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Aggregate ORDER BY patch