From 3fae29ef13df9f221af1a034ed94621bf03e4ba8 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sat, 30 Jul 2005 03:15:22 +0000
Subject: [PATCH] Add:

> * Add TRUNCATE permission
>
>   Currently only the owner can TRUNCATE a table because triggers are not
>   called, and the table is locked in exclusive mode.
>
---
 doc/TODO              | 7 ++++++-
 doc/src/FAQ/TODO.html | 6 +++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/doc/TODO b/doc/TODO
index af926f6277c..de6096c9643 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -2,7 +2,7 @@
 PostgreSQL TODO List
 ====================
 Current maintainer:	Bruce Momjian (pgman@candle.pha.pa.us)
-Last updated:		Fri Jul 29 22:52:27 EDT 2005
+Last updated:		Fri Jul 29 23:15:09 EDT 2005
 
 The most recent version of this document can be viewed at
 http://www.postgresql.org/docs/faqs.TODO.html.
@@ -324,6 +324,11 @@ SQL Commands
 * Add ROLLUP, CUBE, GROUPING SETS options to GROUP BY
 * Allow SET CONSTRAINTS to be qualified by schema/table name
 * Allow TRUNCATE ... CASCADE/RESTRICT
+* Add TRUNCATE permission
+
+  Currently only the owner can TRUNCATE a table because triggers are not
+  called, and the table is locked in exclusive mode.
+
 * Allow PREPARE of cursors
 * Allow PREPARE to automatically determine parameter types based on the SQL
   statement
diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html
index ccbf15f1107..9eda05d12b4 100644
--- a/doc/src/FAQ/TODO.html
+++ b/doc/src/FAQ/TODO.html
@@ -8,7 +8,7 @@
 <body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
 <h1><a name="section_1">PostgreSQL TODO List</a></h1>
 <p>Current maintainer:     Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
-Last updated:           Fri Jul 29 22:52:27 EDT 2005
+Last updated:           Fri Jul 29 23:15:09 EDT 2005
 </p>
 <p>The most recent version of this document can be viewed at<br/>
 <a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -302,6 +302,10 @@ first.
   </li><li>Add ROLLUP, CUBE, GROUPING SETS options to GROUP BY
   </li><li>Allow SET CONSTRAINTS to be qualified by schema/table name
   </li><li>Allow TRUNCATE ... CASCADE/RESTRICT
+  </li><li>Add TRUNCATE permission
+<p>  Currently only the owner can TRUNCATE a table because triggers are not
+  called, and the table is locked in exclusive mode.
+</p>
   </li><li>Allow PREPARE of cursors
   </li><li>Allow PREPARE to automatically determine parameter types based on the SQL
   statement
-- 
GitLab