1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Add TRUNCATE command, with psql help and sgml additions.

This commit is contained in:
Bruce Momjian
1999-09-23 17:03:39 +00:00
parent abd4bf1341
commit e7cad7b0cb
15 changed files with 497 additions and 44 deletions

View File

@@ -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
* ----------------------