diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-12-09 08:36:59 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-12-09 08:36:59 +0530 |
commit | 5e97905a2c764d4ca36f5c6cccd0ebbf157b9df4 (patch) | |
tree | 1986ebb09cd6971ef900ca6a1c15bf6c8bd6172e /src/backend/jit/llvm/llvmjit_error.cpp | |
parent | bcf60585e6e0e95f0b9e5d64c7a6edca99ec6e86 (diff) | |
download | postgresql-5e97905a2c764d4ca36f5c6cccd0ebbf157b9df4.tar.gz postgresql-5e97905a2c764d4ca36f5c6cccd0ebbf157b9df4.zip |
Fix double publish of child table's data.
We publish the child table's data twice for a publication that has both
child and parent tables and is published with publish_via_partition_root
as true. This happens because subscribers will initiate synchronization
using both parent and child tables, since it gets both as separate tables
in the initial table list.
Ensure that pg_publication_tables returns only parent tables in such
cases.
Author: Hou Zhijie
Reviewed-by: Greg Nancarrow, Amit Langote, Vignesh C, Amit Kapila
Backpatch-through: 13
Discussion: https://postgr.es/m/OS0PR01MB57167F45D481F78CDC5986F794B99@OS0PR01MB5716.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_error.cpp')
0 files changed, 0 insertions, 0 deletions