RE: pgoutput: schema cache cleanup after streamed 2PC

From: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: 'Masahiko Sawada' <sawada(dot)mshk(at)gmail(dot)com>, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Subject: RE: pgoutput: schema cache cleanup after streamed 2PC
Date: 2026-09-18 01:49:34
Message-ID: TYYPR01MB12841E5DD06EBFCBD0A829AC6F5872@TYYPR01MB12841.jpnprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear Ayush, Sawada-san,

> I agree with the analysis and the fix. I've reviewed the v3 patch and
> it looks good to me. IIUC this bug leads to not behavioral problems
> but to memory leaks. I think we can push it without tests. I'm going
> to push it (including back branches), barring any objections.

V3 LGTM.
One additional idea that re-sending the schema can be avoided for stream_abort
in parallel mode. But it's something like improvements and should be discussed
separately.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message shihao zhong 2026-09-18 01:54:54 Re: Init connection time grows quadratically
Previous Message Bingshuai Li 2026-09-18 01:39:22 Re: Bug in logical decoding with DDL and subtransactions