aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-01-27 13:41:03 +0900
committerMichael Paquier <michael@paquier.xyz>2021-01-27 13:41:03 +0900
commit2378d9232ea9a7d8147b17f7d78c14fbb4796c7d (patch)
tree847d6bf216a7c8e1d2a4831428791faaec17db09
parentf17e8f33f781ce156ee73e8e7b6d104fcfa9c811 (diff)
downloadpostgresql-2378d9232ea9a7d8147b17f7d78c14fbb4796c7d.tar.gz
postgresql-2378d9232ea9a7d8147b17f7d78c14fbb4796c7d.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 a31c8a93245..2aa24183def 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -1739,7 +1739,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>