diff options
| author | Hiroshi Inoue <inoue@tpf.co.jp> | 2000-02-18 09:30:20 +0000 |
|---|---|---|
| committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2000-02-18 09:30:20 +0000 |
| commit | e3a97b370c2671c05ad95d6a21914c225a0cf32d (patch) | |
| tree | e20b8bdc9dfedef71dfe1367c3b957cbf16c42c1 /src/include/nodes | |
| parent | e3befe4a66c68fea03300eadb9d9b2f1c2534dc6 (diff) | |
| download | postgresql-e3a97b370c2671c05ad95d6a21914c225a0cf32d.tar.gz | |
Implement reindex command
Diffstat (limited to 'src/include/nodes')
| -rw-r--r-- | src/include/nodes/nodes.h | 11 | ||||
| -rw-r--r-- | src/include/nodes/parsenodes.h | 15 |
2 files changed, 20 insertions, 6 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index 161b53c25a..8dd893e3f1 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodes.h,v 1.64 2000/02/15 20:49:24 tgl Exp $ + * $Id: nodes.h,v 1.65 2000/02/18 09:29:43 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -146,7 +146,7 @@ typedef enum NodeTag T_DeleteStmt, T_UpdateStmt, T_SelectStmt, - T_AlterTableStmt, + T_AlterTableStmt, T_AggregateStmt, T_ChangeACLStmt, T_ClosePortalStmt, @@ -191,9 +191,10 @@ typedef enum NodeTag T_DropUserStmt, T_LockStmt, T_ConstraintsSetStmt, - T_CreateGroupStmt, - T_AlterGroupStmt, - T_DropGroupStmt, + T_CreateGroupStmt, + T_AlterGroupStmt, + T_DropGroupStmt, + T_ReindexStmt, T_A_Expr = 700, T_Attr, diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index df7bec10f0..d98398aade 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.99 2000/02/15 20:49:24 tgl Exp $ + * $Id: parsenodes.h,v 1.100 2000/02/18 09:29:44 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -722,6 +722,19 @@ typedef struct ConstraintsSetStmt bool deferred; } ConstraintsSetStmt; +/* ---------------------- + * REINDEX Statement + * ---------------------- + */ +typedef struct ReindexStmt +{ + NodeTag type; + int reindexType; /* INDEX|TABLE|DATABASE */ + const char *name; /* name to reindex */ + bool force; + bool all; +} ReindexStmt; + /***************************************************************************** * Optimizable Statements |
