From 055ceac32bc0d79cf7a8eb4e00eb512b22da450d Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Mon, 17 Nov 2025 11:20:30 +1100 Subject: [PATCH v4] Fix synopsis --- doc/src/sgml/ref/alter_publication.sgml | 8 ++++++-- doc/src/sgml/ref/create_publication.sgml | 14 +++++++++----- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/ref/alter_publication.sgml b/doc/src/sgml/ref/alter_publication.sgml index 8dd250d..ba58cdd 100644 --- a/doc/src/sgml/ref/alter_publication.sgml +++ b/doc/src/sgml/ref/alter_publication.sgml @@ -30,13 +30,17 @@ ALTER PUBLICATION name RENAME TO where publication_object is one of: - TABLE [ ONLY ] table_name [ * ] [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] [, ... ] TABLES IN SCHEMA { schema_name | CURRENT_SCHEMA } [, ... ] + TABLE table_spec [, ... ] + + where table_spec is: + + [ ONLY ] table_name [ * ] [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] where publication_drop_object is one of: - TABLE [ ONLY ] table_name [ * ] [, ... ] TABLES IN SCHEMA { schema_name | CURRENT_SCHEMA } [, ... ] + TABLE [ ONLY ] table_name [ * ] [, ... ] diff --git a/doc/src/sgml/ref/create_publication.sgml b/doc/src/sgml/ref/create_publication.sgml index 66a70e5..c50c8f6 100644 --- a/doc/src/sgml/ref/create_publication.sgml +++ b/doc/src/sgml/ref/create_publication.sgml @@ -22,18 +22,22 @@ PostgreSQL documentation CREATE PUBLICATION name - [ FOR { publication_object [, ... ] | all_publication_object [, ... ] } ] + [ FOR { publication_all_objects [, ... ] | publication_object [, ... ] } ] [ WITH ( publication_parameter [= value] [, ... ] ) ] +where publication_all_objects is one of: + + ALL TABLES + ALL SEQUENCES + where publication_object is one of: - TABLE [ ONLY ] table_name [ * ] [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] [, ... ] TABLES IN SCHEMA { schema_name | CURRENT_SCHEMA } [, ... ] + TABLE table_spec [, ... ] -where all_publication_object is one of: + where table_spec is: - ALL TABLES - ALL SEQUENCES + [ ONLY ] table_name [ * ] [ ( column_name [, ... ] ) ] [ WHERE ( expression ) ] -- 1.8.3.1