Re: Oversight in reparameterize_path_by_child leading to executor crash - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Oversight in reparameterize_path_by_child leading to executor crash
Date
Msg-id CAExHW5viSrPBOdMpAQ7h8DXDQEuvJevFV0CEF5w8ERw+bTz6sQ@mail.gmail.com
Whole thread Raw
In response to Re: Oversight in reparameterize_path_by_child leading to executor crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Oversight in reparameterize_path_by_child leading to executor crash
List pgsql-hackers
On Tue, Aug 1, 2023 at 6:50 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

>
> Alternatively, could we postpone the reparameterization until
> createplan.c?  Having to build reparameterized expressions we might
> not use seems expensive, and it would also contribute to the memory
> bloat being complained of in nearby threads.
>

As long as the translation happens only once, it should be fine. It's
the repeated translations which should be avoided.

--
Best Wishes,
Ashutosh Bapat



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Next
From: David Rowley
Date:
Subject: Re: Fix incorrect start up costs for WindowAgg paths (bug #17862)