1. VariableShowStmt and VariableResetStmt added.
2. VacuumStmt changed (for VACUUM ANALYZE...).
This commit is contained in:
parent
72fcb4ee91
commit
bc67a4617d
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: parsenodes.h,v 1.13 1997/04/05 06:19:22 vadim Exp $
|
* $Id: parsenodes.h,v 1.14 1997/04/23 05:58:06 vadim Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -410,7 +410,9 @@ typedef struct ClusterStmt {
|
|||||||
typedef struct VacuumStmt {
|
typedef struct VacuumStmt {
|
||||||
NodeTag type;
|
NodeTag type;
|
||||||
bool verbose; /* print status info */
|
bool verbose; /* print status info */
|
||||||
|
bool analyze; /* analyze data */
|
||||||
char *vacrel; /* table to vacuum */
|
char *vacrel; /* table to vacuum */
|
||||||
|
List *va_spec; /* columns to analyse */
|
||||||
} VacuumStmt;
|
} VacuumStmt;
|
||||||
|
|
||||||
/* ----------------------
|
/* ----------------------
|
||||||
@ -432,7 +434,27 @@ typedef struct VariableSetStmt {
|
|||||||
NodeTag type;
|
NodeTag type;
|
||||||
char *name;
|
char *name;
|
||||||
char *value;
|
char *value;
|
||||||
} VariableSetStmt;
|
} VariableSetStmt;
|
||||||
|
|
||||||
|
/* ----------------------
|
||||||
|
* Show Statement
|
||||||
|
* ----------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef struct VariableShowStmt {
|
||||||
|
NodeTag type;
|
||||||
|
char *name;
|
||||||
|
} VariableShowStmt;
|
||||||
|
|
||||||
|
/* ----------------------
|
||||||
|
* Reset Statement
|
||||||
|
* ----------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef struct VariableResetStmt {
|
||||||
|
NodeTag type;
|
||||||
|
char *name;
|
||||||
|
} VariableResetStmt;
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user