From: Peter Eisentraut Date: Tue, 2 May 2017 19:29:30 +0000 (-0400) Subject: doc: Improve order in ALTER PUBLICATION/SUBSCRIPTION ref pages X-Git-Tag: REL_10_BETA1~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9500240661c03750923e6f539bfa2d75cfaa32a;p=postgresql doc: Improve order in ALTER PUBLICATION/SUBSCRIPTION ref pages Move the OWNER and RENAME clauses to the end, so the interesting functionality is listed first. This is more typical on nearby reference pages, whereas the previous order was the order in which the clauses were added. --- diff --git a/doc/src/sgml/ref/alter_publication.sgml b/doc/src/sgml/ref/alter_publication.sgml index 858231fbcb..05bd57d9ca 100644 --- a/doc/src/sgml/ref/alter_publication.sgml +++ b/doc/src/sgml/ref/alter_publication.sgml @@ -29,11 +29,11 @@ ALTER PUBLICATION name WITH ( name OWNER TO { new_owner | CURRENT_USER | SESSION_USER } -ALTER PUBLICATION name RENAME TO new_name ALTER PUBLICATION name ADD TABLE [ ONLY ] table_name [ * ] [, ...] ALTER PUBLICATION name SET TABLE [ ONLY ] table_name [ * ] [, ...] ALTER PUBLICATION name DROP TABLE [ ONLY ] table_name [ * ] [, ...] +ALTER PUBLICATION name OWNER TO { new_owner | CURRENT_USER | SESSION_USER } +ALTER PUBLICATION name RENAME TO new_name @@ -79,24 +79,6 @@ ALTER PUBLICATION name DROP TABLE [ - - new_owner - - - The user name of the new owner of the publication. - - - - - - new_name - - - The new name for the publication. - - - - PUBLISH INSERT NOPUBLISH INSERT @@ -124,6 +106,24 @@ ALTER PUBLICATION name DROP TABLE [ + + + new_owner + + + The user name of the new owner of the publication. + + + + + + new_name + + + The new name for the publication. + + + diff --git a/doc/src/sgml/ref/alter_subscription.sgml b/doc/src/sgml/ref/alter_subscription.sgml index 35aeb6af41..5dae4aebd6 100644 --- a/doc/src/sgml/ref/alter_subscription.sgml +++ b/doc/src/sgml/ref/alter_subscription.sgml @@ -35,11 +35,11 @@ ALTER SUBSCRIPTION name REFRESH PUB COPY DATA | NOCOPY DATA -ALTER SUBSCRIPTION name OWNER TO { new_owner | CURRENT_USER | SESSION_USER } -ALTER SUBSCRIPTION name RENAME TO new_name ALTER SUBSCRIPTION name CONNECTION 'conninfo' ALTER SUBSCRIPTION name ENABLE ALTER SUBSCRIPTION name DISABLE +ALTER SUBSCRIPTION name OWNER TO { new_owner | CURRENT_USER | SESSION_USER } +ALTER SUBSCRIPTION name RENAME TO new_name @@ -71,24 +71,6 @@ ALTER SUBSCRIPTION name DISABLE - - new_owner - - - The user name of the new owner of the subscription. - - - - - - new_name - - - The new name for the subscription. - - - - CONNECTION 'conninfo' SLOT NAME = slot_name @@ -156,6 +138,23 @@ ALTER SUBSCRIPTION name DISABLE + + new_owner + + + The user name of the new owner of the subscription. + + + + + + new_name + + + The new name for the subscription. + + +