diff options
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 1614d787bcb..63b1b1046a8 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.126 2001/03/23 04:49:56 momjian Exp $ + * $Id: parsenodes.h,v 1.127 2001/05/07 00:43:25 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -118,11 +118,12 @@ typedef struct AlterTableStmt NodeTag type; char subtype; /*------------ * A = add column - * T = alter column + * T = alter column default + * S = alter column statistics * D = drop column * C = add constraint * X = drop constraint - * E = add toast table, + * E = create toast table * U = change owner *------------ */ @@ -690,16 +691,20 @@ typedef struct ClusterStmt } ClusterStmt; /* ---------------------- - * Vacuum Statement + * Vacuum and Analyze Statements + * + * Even though these are nominally two statements, it's convenient to use + * just one node type for both. * ---------------------- */ typedef struct VacuumStmt { NodeTag type; - bool verbose; /* print status info */ - bool analyze; /* analyze data */ - char *vacrel; /* table to vacuum */ - List *va_spec; /* columns to analyse */ + bool vacuum; /* do VACUUM step */ + bool analyze; /* do ANALYZE step */ + bool verbose; /* print progress info */ + char *vacrel; /* name of single table to process, or NULL */ + List *va_cols; /* list of column names, or NIL for all */ } VacuumStmt; /* ---------------------- |