git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c9c359)
doc: Remove reference to views for TRUNCATE privilege
2021年1月27日 04:40:33 +0000 (13:40 +0900)
2021年1月27日 04:40:33 +0000 (13:40 +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


diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index c12a32c8c7f02c46e5ac4322a1e698e2697b0950..02d2f42865172f7b99c13ebb44493bbab563eb86 100644 (file)
--- 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>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /