On Thu, Jan 8, 2026 at 10:30 PM Richard Guo <[email protected]> wrote:
> How about we add a comment to check_output_expressions() along the
> below lines?

I've worked on the comment a bit more in the attached patch, which
also includes my previously proposed code changes and some test cases.

I think this patch is suitable for fixing the current bug in the back
branches.  We can use a separate patch for the more ambitious goal of
moving the push-down of subquery's restriction clauses into
subquery_planner().

Any thoughts?

- Richard

Attachment: v1-0001-Fix-unsafe-pushdown-of-quals-referencing-grouping.patch
Description: Binary data

Reply via email to