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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible bug: SQL function parameter in window frame definition
Дата
Msg-id 28299.1569780931@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Possible bug: SQL function parameter in window frame definition  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: Possible bug: SQL function parameter in window frame definition
Список pgsql-general
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "Andrew" == Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
>  Andrew> We could minimize the chance of breakage in a back-patched fix
>  Andrew> by having query_tree_walker/mutator iterate the windowClause
>  Andrew> list itself

> Here is a draft patch along those lines; the intent of this one is that
> no existing walker or mutator should need to change (the change to the
> dependency code is basically cosmetic I believe, just avoids walking
> some things twice).

Hmm.  I think this is a reasonable direction to go in, but
what about groupingSets and rowMarks?

Also, in HEAD I'd be inclined to add assertions about utilityStmt
being NULL.

            regards, tom lane



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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Possible bug: SQL function parameter in window frame definition
Следующее
От: stan
Дата:
Сообщение: Thoughts on a cosntraint ?