From 805f28f9c6618282856faa2d6d1aff62af501ad7 Mon Sep 17 00:00:00 2001 From: Vignesh C Date: Tue, 31 Mar 2026 14:41:24 +0530 Subject: [PATCH 2/2] Reuse table_object in publication command syntax Simplify the CREATE PUBLICATION and ALTER PUBLICATION reference syntax by reusing the existing table_object instead of repeating its expanded form. Replace: [ ONLY ] table_name [ * ] with: table_object in the definitions of publication_drop_object and table_and_columns. --- doc/src/sgml/ref/alter_publication.sgml | 4 ++-- doc/src/sgml/ref/create_publication.sgml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/ref/alter_publication.sgml b/doc/src/sgml/ref/alter_publication.sgml index 59b34dd0a38..aa32bb169e9 100644 --- a/doc/src/sgml/ref/alter_publication.sgml +++ b/doc/src/sgml/ref/alter_publication.sgml @@ -40,12 +40,12 @@ ALTER PUBLICATION name RENAME TO and publication_drop_object is one of: - TABLE [ ONLY ] table_name [ * ] [, ... ] + TABLE table_object [, ... ] TABLES IN SCHEMA { schema_name | CURRENT_SCHEMA } [, ... ] and table_and_columns is: - [ ONLY ] table_name [ * ] [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] + table_object [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] and except_table_object is: diff --git a/doc/src/sgml/ref/create_publication.sgml b/doc/src/sgml/ref/create_publication.sgml index 25be2e44ddd..16536e37eec 100644 --- a/doc/src/sgml/ref/create_publication.sgml +++ b/doc/src/sgml/ref/create_publication.sgml @@ -37,7 +37,7 @@ CREATE PUBLICATION name and table_and_columns is: - [ ONLY ] table_name [ * ] [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] + table_object [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] and except_table_object is: -- 2.43.0