RE: Parallel Apply - Mailing list pgsql-hackers

From Zhijie Hou (Fujitsu)
Subject RE: Parallel Apply
Date
Msg-id TY4PR01MB177180394D8E9C6D263E117E494FE2@TY4PR01MB17718.jpnprd01.prod.outlook.com
Whole thread
In response to RE: Parallel Apply  ("Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>)
Responses RE: Parallel Apply
List pgsql-hackers
On Monday, June 15, 2026 7:20 PM Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com> wrote:
> 
> Attaching the new version patch set.
> 
> Apart from addressing above comments, I also did the following changes:
> 
> 0003:
> 
> - Fix detection of dependencies on toasted columns by properly copying
> column
>   status.
> - Ensure leader correctly handles table-wide dependencies when applying a
>   transaction directly.
> - Prevent infinite loop by skipping self-dependencies when building the
>   dependency list.
> - Expand test coverage for dependency tracking.
> - Improve code readability through refactoring.
> - Enhance comments for better documentation.
> 
> 0008:
> 0009:
> 
> - Complete most TODOs and finalize the design to cover more cases. Add
> extensive
>   comments to explain the design.
> 
> - Add more tests to cover the new code paths.

I've further reviewed and improved the patch recently; here is the updated V21 patch
set with the following changes:

0003: Fix missing dependency check for replica identity FULL.
0004: Add more test coverage for replica identity FULL.
0007: Improve parallel apply safety check to handle concurrent table schema
      changes.
0009: Fix missing dependency check when both sides of a foreign key are
      partitioned tables, and add more test coverage for partitioned tables.

Best Regards,
Hou zj


Attachment

pgsql-hackers by date:

Previous
From: Siddharth Kothari
Date:
Subject: Re: [PATCH] Add RetrieveInstrumentation hook for CustomScan providers
Next
From: Peter Eisentraut
Date:
Subject: Re: [Bug] Add the missing RTE_GRAPH_TABLE case to transformLockingClause()