diff options
author | Amit Kapila <akapila@postgresql.org> | 2024-08-01 10:11:06 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2024-08-01 10:11:06 +0530 |
commit | a67da49e1d983fc7662f7854e9eec5debbd14446 (patch) | |
tree | 07885c2f9044f03c1d8e3c544526f1bad016c098 /src/backend/utils/misc/guc_tables.c | |
parent | a7f107df2b700c859e4d9ad2ca66b07a465d6223 (diff) | |
download | postgresql-a67da49e1d983fc7662f7854e9eec5debbd14446.tar.gz postgresql-a67da49e1d983fc7662f7854e9eec5debbd14446.zip |
Avoid duplicate table scans for cross-partition updates during logical replication.
When performing a cross-partition update in the apply worker, it
needlessly scans the old partition twice, resulting in noticeable
overhead.
This commit optimizes it by removing the redundant table scan.
Author: Hou Zhijie
Reviewed-by: Hayato Kuroda, Amit Kapila
Discussion: https://postgr.es/m/OS0PR01MB571623E39984D94CBB5341D994AB2@OS0PR01MB5716.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/utils/misc/guc_tables.c')
0 files changed, 0 insertions, 0 deletions