mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user