]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Document that only a table's owner may TRUNCATE it. Per Keith Worthington.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Feb 2005 19:06:35 +0000 (19:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Feb 2005 19:06:35 +0000 (19:06 +0000)
doc/src/sgml/ref/truncate.sgml

index 8bd220f77a7fb7df20b2aa8cd6807849efce6a5c..babd4033d4c7d2f21ebf264e9a846eab8e15cb15 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.17 2004/03/23 13:21:41 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.17.4.1 2005/02/22 19:06:35 tgl Exp $
 PostgreSQL documentation
 -->
 
@@ -53,6 +53,10 @@ TRUNCATE [ TABLE ] <replaceable class="PARAMETER">name</replaceable>
  <refsect1>
   <title>Notes</title>
 
+  <para>
+   Only the owner of a table may <command>TRUNCATE</> it.
+  </para>
+
   <para>
    <command>TRUNCATE</> cannot be used if there are foreign-key references
    to the table from other tables.  Checking validity in such cases would