diff --git a/doc/src/sgml/ref/alter_publication.sgml b/doc/src/sgml/ref/alter_publication.sgml index 44ae7e0e871..d5ea383e8bc 100644 --- a/doc/src/sgml/ref/alter_publication.sgml +++ b/doc/src/sgml/ref/alter_publication.sgml @@ -154,6 +154,21 @@ ALTER PUBLICATION name RENAME TO . See there for more information. + + + Altering the publish_via_partition_root parameter can + lead to data loss or duplication at the subscriber because it changes + the identity and schema of the published tables. Note this happens only + when a partition root table is specified as the replication target. + + + This problem can be avoided by refraining from modifying partition leaf + tables after the ALTER PUBLICATION ... SET until the + ALTER SUBSCRIPTION ... REFRESH PUBLICATION + is executed and by only refreshing using the copy_data = off + option. + +