Re: Status of DISTINCT-by-hashing work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Status of DISTINCT-by-hashing work
Дата
Msg-id 13398.1218033772@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Status of DISTINCT-by-hashing work  ("Hitoshi Harada" <umi.tanuki@gmail.com>)
Список pgsql-hackers
"Hitoshi Harada" <umi.tanuki@gmail.com> writes:
> Correct. I learned that method from nodeAgg. What I meant was that
> window functions reach for plan node and its sort keys through
> winstate->ss.ps. The mechanism is not ugly but some macros or exposed
> API seem more comfortable, especially if thinking about formulating
> window functions as user-defined functions.

Agreed, I was about to suggest the same thing.  Have the window
functions pass the WindowState to some interface code that gets what
they need for them.
        regards, tom lane


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

Предыдущее
От: "Hitoshi Harada"
Дата:
Сообщение: Re: Status of DISTINCT-by-hashing work
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: 8.3 planner ignore index with text_pattern_ops for eq