From 26834e8633d1275c4fd17a619b7cf8a0bdf33c27 Mon Sep 17 00:00:00 2001 From: Nisha Moond Date: Tue, 2 Jun 2026 15:58:46 +0530 Subject: [PATCH v2] doc: add missing EXCEPT parameter entry in ALTER PUBLICATION The EXCEPT clause was included in the syntax and described briefly in the command description, but was missing from the Parameters section. Add a parameter entry describing its behavior in ALTER PUBLICATION. This patch also adds an example to convert an ALL TABLES publication to ALL SEQUENCES one. --- doc/src/sgml/ref/alter_publication.sgml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/src/sgml/ref/alter_publication.sgml b/doc/src/sgml/ref/alter_publication.sgml index 52114a16a39..e91931f3393 100644 --- a/doc/src/sgml/ref/alter_publication.sgml +++ b/doc/src/sgml/ref/alter_publication.sgml @@ -198,6 +198,21 @@ ALTER PUBLICATION name RENAME TO + + EXCEPT + + + This clause can be used with SET ALL TABLES to + specify a list of tables to be excluded from the publication. If + EXCEPT is specified, the existing exclusion list is + replaced with the specified tables. If EXCEPT is + omitted, any existing table exclusions are removed. See + CREATE PUBLICATION ... EXCEPT + for details. + + + + SET ( publication_parameter [= value] [, ... ] ) @@ -277,6 +292,13 @@ ALTER PUBLICATION mypublication SET ALL TABLES EXCEPT (TABLE users, departments) with no excluded tables: ALTER PUBLICATION mypublication SET ALL TABLES; + + + + Convert a FOR ALL TABLES publication into a + FOR ALL SEQUENCES publication: + +ALTER PUBLICATION mypublication SET ALL SEQUENCES; -- 2.50.1 (Apple Git-155)