From: Tom Lane Date: Tue, 22 Feb 2005 19:06:49 +0000 (+0000) Subject: Document that only a table's owner may TRUNCATE it. Per Keith Worthington. X-Git-Tag: REL7_4_8~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=510f058932c91dd2c2a5e7f3f03782956aedef0e;p=postgresql Document that only a table's owner may TRUNCATE it. Per Keith Worthington. --- diff --git a/doc/src/sgml/ref/truncate.sgml b/doc/src/sgml/ref/truncate.sgml index 1588759035..7650832a2a 100644 --- a/doc/src/sgml/ref/truncate.sgml +++ b/doc/src/sgml/ref/truncate.sgml @@ -1,5 +1,5 @@ @@ -53,6 +53,10 @@ TRUNCATE [ TABLE ] name Notes + + Only the owner of a table may TRUNCATE it. + + TRUNCATE cannot be used if there are foreign-key references to the table from other tables. Checking validity in such cases would