Re: PG19: flat-copied RelOptInfos share extension_state with the original rel

From: Sho Ito <i(dot)sho(dot)0628(at)gmail(dot)com>
To: Shubhankar Anand Kulkarni <shubhankar(dot)ak(at)zohocorp(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, robertmhaas <robertmhaas(at)gmail(dot)com>, guofenglinux <guofenglinux(at)gmail(dot)com>
Subject: Re: PG19: flat-copied RelOptInfos share extension_state with the original rel
Date: 2026-10-12 22:31:52
Message-ID: CAG7L5+5yunM-mOHCj9cbjKguDHORV-tSa-j=crMXv_1PqbKcJQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 12, 2026 at 6:41 AM Shubhankar Anand Kulkarni <
shubhankar(dot)ak(at)zohocorp(dot)com> wrote:

> The attached patch resets the two fields at all four copy sites.
>

Hi Shubhankar,

I reviewed v1 on master. All core regression tests pass.
Before the patch, I reproduced the state-sharing warnings in
mode 1 and the backend crash in mode 2. Both modes complete without
warnings after the patch. I found no blocking issues.

Thanks,
Sho Ito

--
=======================================
*Sho Ito (Sean)*

E-mail: i(dot)sho(dot)0628(at)gmail(dot)com
LinkedIn: *https://www.linkedin.com/in/sho-ito-0628/
<https://www.linkedin.com/in/sho-ito-0628/>*
GitHub: https://github.com/sean0628/
=======================================

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-10-12 23:05:02 Re: [PATCH] Clear walsender reader pointers after cleanup
Previous Message Zsolt Parragi 2026-10-12 22:29:15 Re: [Patch] New pg_stat_tablespace view