Doc: Specify the interaction of publish_generated_columns with column list.

Author: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: David G. Johnston <david.g.johnston@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/CAHut+PtnjLiNFFh-3f9cXH0wnwqjdkTjQNbVmZdZ1y+zKt_PPg@mail.gmail.com
pull/215/head
Amit Kapila 8 months ago
parent f132815fd7
commit 9807617a92
  1. 10
      doc/src/sgml/ref/create_publication.sgml

@ -89,10 +89,12 @@ CREATE PUBLICATION <replaceable class="parameter">name</replaceable>
<para> <para>
When a column list is specified, only the named columns are replicated. When a column list is specified, only the named columns are replicated.
The column list can contain stored generated columns as well. If no The column list can contain stored generated columns as well. If the
column list is specified, all table columns (except generated columns) column list is omitted, the publication will replicate all non-generated
are replicated through this publication, including any columns added columns (including any added in the future) by default. Stored generated
later. It has no effect on <literal>TRUNCATE</literal> commands. See columns can also be replicated if <literal>publish_generated_columns</literal>
is set to <literal>stored</literal>. Specifying a column list has no
effect on <literal>TRUNCATE</literal> commands. See
<xref linkend="logical-replication-col-lists"/> for details about column <xref linkend="logical-replication-col-lists"/> for details about column
lists. lists.
</para> </para>

Loading…
Cancel
Save