aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql/postgres_fdw.sql
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-12-09 08:49:50 +0530
committerAmit Kapila <akapila@postgresql.org>2021-12-09 08:49:50 +0530
commit614b77d65a3859ad8d2c1c28475e98ddee06dc50 (patch)
tree7c70dfe08c3332b1348fd0dfdf42f86ff729b24f /contrib/postgres_fdw/sql/postgres_fdw.sql
parent3d603431975b4ca920c698abd7f0083a3fabe827 (diff)
downloadpostgresql-614b77d65a3859ad8d2c1c28475e98ddee06dc50.tar.gz
postgresql-614b77d65a3859ad8d2c1c28475e98ddee06dc50.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 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions