From: Tom Lane Date: Tue, 22 Feb 2005 19:06:18 +0000 (+0000) Subject: Document that only a table's owner may TRUNCATE it. Per Keith Worthington. X-Git-Tag: REL8_1_0BETA1~1336 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26b9a2860f5a62811ab6a197e8dee5195e14cce7;p=thirdparty%2Fpostgresql.git 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 03ee825ad52..fe68c5b334a 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 on a table that has foreign-key references from other tables, unless all such tables are also truncated