From 5d394e65625393561cc8a9b99ef897d3b74157fd Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Wed, 8 Apr 2026 13:33:21 +1000 Subject: [PATCH v1] Add missing parameters --- doc/src/sgml/ref/alter_publication.sgml | 32 +++++++++++----- doc/src/sgml/ref/create_publication.sgml | 48 ++++++++++++++++++++---- 2 files changed, 62 insertions(+), 18 deletions(-) diff --git a/doc/src/sgml/ref/alter_publication.sgml b/doc/src/sgml/ref/alter_publication.sgml index aa32bb169e9..9853ee5ff91 100644 --- a/doc/src/sgml/ref/alter_publication.sgml +++ b/doc/src/sgml/ref/alter_publication.sgml @@ -163,19 +163,21 @@ ALTER PUBLICATION name RENAME TO Name of an existing table. If ONLY is specified before the - table name, only that table is affected. If ONLY is not - specified, the table and all its descendant tables (if any) are - affected. Optionally, * can be specified after the table - name to explicitly indicate that descendant tables are included. + table_name, only that table + is affected. If ONLY is not specified, the table and + all its descendant tables (if any) are affected. Optionally, + * can be specified after the + table_name to explicitly + indicate that descendant tables are included. - Optionally, a column list can be specified. See for details. Note that a subscription - having several publications in which the same table has been published - with different column lists is not supported. See - for details of - potential problems when altering column lists. + Optionally, a column_name + list can be specified. See for + details. Note that a subscription having several publications in which + the same table has been published with different column lists is not + supported. See + for details of potential problems when altering column lists. @@ -189,6 +191,16 @@ ALTER PUBLICATION name RENAME TO + + column_name + + + Name of an existing column of table + table_name + + + + schema_name diff --git a/doc/src/sgml/ref/create_publication.sgml b/doc/src/sgml/ref/create_publication.sgml index 0ac576d3f10..d26d75c7962 100644 --- a/doc/src/sgml/ref/create_publication.sgml +++ b/doc/src/sgml/ref/create_publication.sgml @@ -79,15 +79,45 @@ CREATE PUBLICATION name + + table_name + + + Name of an existing table. + + + + + + column_name + + + Name of an existing column of table + table_name + + + + + + schmema_name + + + Name of an existing schema. + + + + FOR TABLE Specifies a list of tables to add to the publication. If - ONLY is specified before the table name, only + ONLY is specified before the + table_name, only that table is added to the publication. If ONLY is not specified, the table and all its descendant tables (if any) are added. - Optionally, * can be specified after the table name to + Optionally, * can be specified after the + table_name to explicitly indicate that descendant tables are included. This does not apply to a partitioned table, however. The partitions of a partitioned table are always implicitly considered part of the @@ -104,7 +134,8 @@ CREATE PUBLICATION name - When a column list is specified, only the named columns are replicated. + When a column_name list is + specified, only the named columns are replicated. The column list can contain stored generated columns as well. If the column list is omitted, the publication will replicate all non-generated columns (including any added in the future) by default. Stored generated @@ -202,11 +233,12 @@ CREATE PUBLICATION name For inherited tables, if ONLY is specified before the - table name, only that table is excluded from the publication. If - ONLY is not specified, the table and all its descendant - tables (if any) are excluded. Optionally, * can be - specified after the table name to explicitly indicate that descendant - tables are excluded. + table_name, only that table + is excluded from the publication. If ONLY is not + specified, the table and all its descendant tables (if any) are excluded. + Optionally, * can be specified after the + table_name to explicitly + indicate that descendant tables are excluded. For partitioned tables, only the root partitioned table may be specified -- 2.47.3