Re: Possible bug: SQL function parameter in window frame definition

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible bug: SQL function parameter in window frame definition
Дата
Msg-id 6831.1569875136@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Possible bug: SQL function parameter in window frame definition  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-general
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
>  Tom> Hmm.  I think this is a reasonable direction to go in, but
>  Tom> what about groupingSets and rowMarks?

> groupingSets ultimately contains nothing but numbers which are
> meaningless without reference to the matching groupClause list. So
> anything that cares about those is really going to have to process them
> in its Query case in the walker function in order to get at both
> clauses.

Ah.  I was thinking there were SortGroupClauses under them, but that
was based on an overly hasty reading of the parsenodes.h comments.

No further complaints.

            regards, tom lane



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

Предыдущее
От: Joe Horsnell
Дата:
Сообщение: Behaviour adding a column with and without a default (prior to PG11)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade (Checking for reg* data types)