"Heikki Linnakangas" <[EMAIL PROTECTED]> writes: > We should use range_table_walker, which knows how to descend into all > kinds of RTEs...
Yeah, I had been thinking of that but didn't see an easy way to apply it; of course the answer is to use IncrementVarSublevelsUp_walker directly as you have here. Looks good except IncrementVarSublevelsUp_rtable really ought to have a comment. Please fix that, commit, and backpatch as needed. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs