diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml index e98538e5400..dd0bde23cee 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -1153,26 +1153,30 @@ test_sub=# SELECT * FROM child ORDER BY a; ignoring any column lists. - - Combining Multiple Column Lists - - + + Warning: Combining Column Lists from Multiple Publications - It is not supported to have a subscription comprising several publications - where the same table has been published with different column lists. - This means changing the column lists of the tables being subscribed could - cause inconsistency of column lists among publications, in which case - the will be successful but later - the walsender on the publisher, or the subscriber may throw an error. In - this scenario, the user needs to recreate the subscription after adjusting - the column list or drop the problematic publication using - ALTER SUBSCRIPTION ... DROP PUBLICATION and then add it - back after adjusting the column list. + There's currently no support for subscriptions comprising several + publications where the same table has been published with different + column lists. disallows + creating such subscriptions, but it is still possible to get into + that situation by adding or altering column lists on the publication + side after a subscription has been created. + + + This means changing the column lists of tables on publications that are + already subscribed could lead to errors being thrown on the subscriber + side. + + + If a subscription is affected by this problem, the only way to resume + replication is to adjust one of the column lists on the publication + side so that they all match; and then either recreate the subscription, + or use ALTER SUBSCRIPTION ... DROP PUBLICATION to + remove one of the offending publications and add it again. - - Examples