Re: Possible bug: SQL function parameter in window frame definition - Mailing list pgsql-general

From Tom Lane
Subject Re: Possible bug: SQL function parameter in window frame definition
Date
Msg-id 28299.1569780931@sss.pgh.pa.us
Whole thread Raw
In response to Re: Possible bug: SQL function parameter in window frame definition  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: Possible bug: SQL function parameter in window frame definition
List 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 by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: Possible bug: SQL function parameter in window frame definition
Next
From: stan
Date:
Subject: Thoughts on a cosntraint ?