aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-01-27 13:41:06 +0900
committerMichael Paquier <michael@paquier.xyz>2021-01-27 13:41:06 +0900
commitd43e23505285b2f39dbda615d8cab51d0905fadc (patch)
tree6efae0ecfa5111ac3356b9925caf6b32f13d3f6f
parentfdf9d005401dc2aa0b6321794310cd3cdb634b2d (diff)
downloadpostgresql-d43e23505285b2f39dbda615d8cab51d0905fadc.tar.gz
postgresql-d43e23505285b2f39dbda615d8cab51d0905fadc.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 88a6702480e..28331038cef 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -1736,7 +1736,7 @@ REVOKE ALL ON accounts FROM PUBLIC;
<term><literal>TRUNCATE</literal></term>
<listitem>
<para>
- Allows <xref linkend="sql-truncate"/> on a table, view, etc.
+ Allows <xref linkend="sql-truncate"/> on a table.
</para>
</listitem>
</varlistentry>