Re: Avoid unnecessary wrapping for more complex expressions - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Avoid unnecessary wrapping for more complex expressions
Date
Msg-id CAMbWs48Z2gasiDvmeGY6Tirdq=7hdfqNzB2NQXCSjBxYvdMPfA@mail.gmail.com
Whole thread Raw
List pgsql-hackers
On Wed, Dec 11, 2024 at 4:31 PM Richard Guo <guofenglinux@gmail.com> wrote:
> As mentioned in that thread, I feel that we can apply a similar
> optimization to more complex non-var expressions: if a strict
> expression contains any variables of rels that are under the same
> lowest nulling outer join as the subquery, we can also avoid wrapping
> it.

> Any thoughts?

I’ve gone ahead and pushed this patch.

Thanks
Richard



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Memory leak in WAL sender with pgoutput (v10~)
Next
From: Amit Kapila
Date:
Subject: Re: Skip collecting decoded changes of already-aborted transactions