Re: Questions about logicalrep_worker_launch()

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Questions about logicalrep_worker_launch()
Date: 2025-04-28 09:06:59
Message-ID: 5fa5c829-8f11-48c8-a0ef-b97b7b093b08@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2025/04/26 3:03, Masahiko Sawada wrote:
> I agree with these changes.
>
> I think that while the changes for (2) should be for v19, the changes
> for (1) might be treated as a bug fix?

Agreed. I've split the patch into two parts:

0001 is for (1) and is a bug fix that should be back-patched to v16,
where parallel apply workers were introduced. Since it didn't apply
cleanly to v16, I also created a separate patch specifically for v16.

0002 is for (2) and is intended for v19.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Attachment Content-Type Size
v2-0001-master-PG17-Fix-bug-that-could-block-the-startup-of-parallel-.patch text/plain 5.3 KB
v2-0001-PG16-Fix-bug-that-could-block-the-startup-of-parallel-.patch text/plain 5.3 KB
v2-0002-Optimize-slot-reuse-after-garbage-collection-in-l.patch text/plain 1.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2025-04-28 09:12:50 Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache
Previous Message Zhijie Hou (Fujitsu) 2025-04-28 08:56:52 RE: Fix slot synchronization with two_phase decoding enabled