On Tue, Oct 13, 2026 at 10:32 AM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> The fix seems straightforward: run replace_nestloop_params() on the
> expression before adding it to the targetlist. The annoying part is
> that prepare_sort_from_pathkeys() doesn't have 'root', so we have to
> pass it in from all its callers.
Pushed and back-patched to v14.
- Richard