aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-01-27 13:40:33 +0900
committerMichael Paquier <michael@paquier.xyz>2021-01-27 13:40:33 +0900
commit32bef758296142ce0fff944c3478d63fdefdaf33 (patch)
treea385db828e11faae7b22209d10f440a2af0ec02d
parent4c9c359d38ff1e2de388eedd860785be6a49201c (diff)
downloadpostgresql-32bef758296142ce0fff944c3478d63fdefdaf33.tar.gz
postgresql-32bef758296142ce0fff944c3478d63fdefdaf33.zip
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
-rw-r--r--doc/src/sgml/ddl.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index c12a32c8c7f..02d2f428651 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -1740,7 +1740,7 @@ REVOKE ALL ON accounts FROM PUBLIC;
<term><literal>TRUNCATE</literal></term>
<listitem>
<para>
- Allows <command>TRUNCATE</command> on a table, view, etc.
+ Allows <command>TRUNCATE</command> on a table.
</para>
</listitem>
</varlistentry>