diff --git a/doc/src/sgml/ref/allfiles.sgml b/doc/src/sgml/ref/allfiles.sgml
index 50e8c89490..d82a9be53f 100644
--- a/doc/src/sgml/ref/allfiles.sgml
+++ b/doc/src/sgml/ref/allfiles.sgml
@@ -1,5 +1,5 @@
@@ -93,6 +93,7 @@ Complete list of usable sgml source files in this directory.
+
diff --git a/doc/src/sgml/ref/commands.sgml b/doc/src/sgml/ref/commands.sgml
index bc16b4cf2a..9402b29f6a 100644
--- a/doc/src/sgml/ref/commands.sgml
+++ b/doc/src/sgml/ref/commands.sgml
@@ -1,5 +1,5 @@
@@ -67,6 +67,7 @@ Postgres documentation
&selectInto;
&set;
&show;
+ &truncate;
&unlisten;
&update;
&vacuum;
diff --git a/doc/src/sgml/ref/truncate.sgml b/doc/src/sgml/ref/truncate.sgml
index 998f826d9c..0459c92921 100644
--- a/doc/src/sgml/ref/truncate.sgml
+++ b/doc/src/sgml/ref/truncate.sgml
@@ -1,5 +1,5 @@
@@ -15,7 +15,7 @@ Postgres documentation
TRUNCATE
- Close a cursor
+ Empty a table
@@ -23,7 +23,7 @@ Postgres documentation
1999-07-20
-TRUNCATE TABLE table
+TRUNCATE [ TABLE ] name
@@ -37,10 +37,10 @@ TRUNCATE TABLE table
- table
+ name
- The table name to truncate.
+ The name of the table to be truncated.
@@ -81,19 +81,24 @@ TRUNCATE
Description
- TRUNCATE quickly removes all rows from a table.
+ TRUNCATE quickly removes all rows from a
+ table. It has the same effect as an unqualified
+ DELETE but since it does not actually scan the
+ table it is faster. This is most effective on large tables.
-
+
+
Usage
- Truncate the table bigtable.
-
-
+ Truncate the table bigtable:
+
+
TRUNCATE TABLE bigtable;
-
+
+