aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/truncate.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/truncate.sgml')
-rw-r--r--doc/src/sgml/ref/truncate.sgml6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/truncate.sgml b/doc/src/sgml/ref/truncate.sgml
index 15887590352..7650832a2aa 100644
--- a/doc/src/sgml/ref/truncate.sgml
+++ b/doc/src/sgml/ref/truncate.sgml
@@ -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
-->
@@ -54,6 +54,10 @@ TRUNCATE [ TABLE ] <replaceable class="PARAMETER">name</replaceable>
<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
require table scans, and the whole point is not to do one.