Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cc865c0

Browse files
committed
Doc: fix description of privileges needed for ALTER PUBLICATION.
Adding a table to a publication requires ownership of the table (in addition to ownership of the publication). This was mentioned nowhere.
1 parent a3e51a3 commit cc865c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ref/alter_publication.sgml

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ ALTER PUBLICATION <replaceable class="parameter">name</replaceable> RENAME TO <r
6262

6363
<para>
6464
You must own the publication to use <command>ALTER PUBLICATION</command>.
65+
Adding a table to a publication additionally requires owning that table.
6566
To alter the owner, you must also be a direct or indirect member of the new
6667
owning role. The new owner must have <literal>CREATE</literal> privilege on
6768
the database. Also, the new owner of a <literal>FOR ALL TABLES</literal>
6869
publication must be a superuser. However, a superuser can change the
69-
ownership of a publication while circumventing these restrictions.
70+
ownership of a publication regardless of these restrictions.
7071
</para>
7172
</refsect1>
7273

0 commit comments

Comments
 (0)