doc: Remove reference to views for TRUNCATE privilege
authorMichael Paquier
Wed, 27 Jan 2021 04:41:06 +0000 (13:41 +0900)
committerMichael Paquier
Wed, 27 Jan 2021 04:41:06 +0000 (13:41 +0900)
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

doc/src/sgml/ddl.sgml

index 88a6702480ebf204fd48c4113aab6fc406a4a28d..28331038cef40db9a53b33c30acc22802937f042 100644 (file)
@@ -1736,7 +1736,7 @@ REVOKE ALL ON accounts FROM PUBLIC;
      TRUNCATE
      
       
-       Allows  on a table, view, etc.
+       Allows  on a table.