postgres.git / summary / log / commit / refs
commit a99b2ccd567937629cf4dc01391c59af66e3384d
Author: Amit Kapila <akapila@postgresql.org>
Date: Fri Jun 21 04:11:13 2024 +0000
Doc: Generated columns are skipped for logical replication.
Add a note in docs that generated columns are skipped for logical
replication.
Author: Peter Smith
Reviewed-by: Peter Eisentraut
Backpatch-through: 12
Discussion: https://postgr.es/m/CAHut+PuXb1GLQztQkoWzYjSwkAZZ0dgCJaAHyJtZF3kmtcL=kA@mail.gmail.com
doc/src/sgml/ddl.sgml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index efe68fc8458..7f3d7e2c3e8 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -373,6 +373,12 @@ CREATE TABLE people (
generated columns in <literal>BEFORE</literal> triggers.
</para>
</listitem>
+ <listitem>
+ <para>
+ Generated columns are skipped for logical replication and cannot be
+ specified in a <command>CREATE PUBLICATION</command> column list.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</sect1>
[parent: 1424c7abc44f]