mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
doc: Remove reference to views for TRUNCATE privilege
The page about privilege rights mentioned that TRUNCATE could be applied to views or even other relation types. This is confusing as this command can be used only on tables and on partitioned tables. Oversight in afc4a78. Reported-by: Harisai Hari Reviewed-by: Laurenz Albe Discussion: https://postgr.es/m/161157636877.14625.15340884663716426087@wrigleys.postgresql.org Backpatch-through: 12
This commit is contained in:
parent
f17e8f33f7
commit
2378d9232e
@ -1739,7 +1739,7 @@ REVOKE ALL ON accounts FROM PUBLIC;
|
|||||||
<term><literal>TRUNCATE</literal></term>
|
<term><literal>TRUNCATE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows <xref linkend="sql-truncate"/> on a table, view, etc.
|
Allows <xref linkend="sql-truncate"/> on a table.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user