summaryrefslogtreecommitdiff
path: root/src/include/nodes/parsenodes.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-09-23 17:03:39 +0000
committerBruce Momjian <bruce@momjian.us>1999-09-23 17:03:39 +0000
commite7cad7b0cbf88e2c0c5bf89957e60657561ffd70 (patch)
tree2d88ae4f0faeadd7796481f626364e81f116e956 /src/include/nodes/parsenodes.h
parentabd4bf13416e0dab832be4944d51de2f9e25f784 (diff)
downloadpostgresql-e7cad7b0cbf88e2c0c5bf89957e60657561ffd70.tar.gz
Add TRUNCATE command, with psql help and sgml additions.
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r--src/include/nodes/parsenodes.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 5a1d07ec39..66c5a9132a 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parsenodes.h,v 1.78 1999/08/21 03:49:09 tgl Exp $
+ * $Id: parsenodes.h,v 1.79 1999/09/23 17:03:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -283,6 +283,16 @@ typedef struct DestroyStmt
} DestroyStmt;
/* ----------------------
+ * Truncate Table Statement
+ * ----------------------
+ */
+typedef struct TruncateStmt
+{
+ NodeTag type;
+ char *relName; /* relation to be truncated */
+} TruncateStmt;
+
+/* ----------------------
* Extend Index Statement
* ----------------------
*/