From e7cad7b0cbf88e2c0c5bf89957e60657561ffd70 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 23 Sep 1999 17:03:39 +0000 Subject: Add TRUNCATE command, with psql help and sgml additions. --- src/include/nodes/parsenodes.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/include/nodes/parsenodes.h') 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 $ * *------------------------------------------------------------------------- */ @@ -282,6 +282,16 @@ typedef struct DestroyStmt bool sequence; } DestroyStmt; +/* ---------------------- + * Truncate Table Statement + * ---------------------- + */ +typedef struct TruncateStmt +{ + NodeTag type; + char *relName; /* relation to be truncated */ +} TruncateStmt; + /* ---------------------- * Extend Index Statement * ---------------------- -- cgit v1.2.1