From 510f058932c91dd2c2a5e7f3f03782956aedef0e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 22 Feb 2005 19:06:49 +0000 Subject: [PATCH] Document that only a table's owner may TRUNCATE it. Per Keith Worthington. --- doc/src/sgml/ref/truncate.sgml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ @@ -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