]> granicus.if.org Git - postgresql/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:49 +0000 (19:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Feb 2005 19:06:49 +0000 (19:06 +0000)
doc/src/sgml/ref/truncate.sgml

index 158875903528c185f2e9f00b502baf9117176f93..7650832a2aae62e84e65121df3fb5f0a19c5783f 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.15 2003/09/19 21:06:39 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/truncate.sgml,v 1.15.2.1 2005/02/22 19:06:49 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