diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index f6344b3b79..f02f67d7b8 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -514,8 +514,9 @@ CREATE TABLE people ( - Generated columns are skipped for logical replication and cannot be - specified in a CREATE PUBLICATION column list. + Generated columns can be replicated during logical replication by + including them in the column list of the + CREATE PUBLICATION command. diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml index 98a7ad0c27..b7e340824c 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -1436,7 +1436,9 @@ test_sub=# SELECT * FROM child ORDER BY a; During initial data synchronization, only the published columns are copied. However, if the subscriber is from a release prior to 15, then all the columns in the table are copied during initial data synchronization, - ignoring any column lists. + ignoring any column lists. If the subscriber is from a release prior to 18, + then initial table synchronization won't copy generated columns even if they + are defined in the publisher.