]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Doc: Generated columns are skipped for logical replication.
authorAmit Kapila <akapila@postgresql.org>
Fri, 21 Jun 2024 04:11:13 +0000 (09:41 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 21 Jun 2024 04:11:13 +0000 (09:41 +0530)
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

index efe68fc8458eb1289fe8ef5e8ba13dbb2f684975..7f3d7e2c3e871c28826fe1b5cfc36a7d6b5d01a4 100644 (file)
@@ -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>