aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1997-04-23 05:58:06 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1997-04-23 05:58:06 +0000
commitbc67a4617d4377ae612cc17ece8a7f681b46e4f7 (patch)
treebb7c5965f4d0446cc9ece58a953676e1631e3f30
parent72fcb4ee91b5c40cc91eb0ff727afe4ad064880b (diff)
downloadpostgresql-bc67a4617d4377ae612cc17ece8a7f681b46e4f7.tar.gz
postgresql-bc67a4617d4377ae612cc17ece8a7f681b46e4f7.zip
1. VariableShowStmt and VariableResetStmt added.
2. VacuumStmt changed (for VACUUM ANALYZE...).
-rw-r--r--src/include/nodes/parsenodes.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index a3641ab52de..7ae2cd6e989 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.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 {
NodeTag type;
bool verbose; /* print status info */
+ bool analyze; /* analyze data */
char *vacrel; /* table to vacuum */
+ List *va_spec; /* columns to analyse */
} VacuumStmt;
/* ----------------------
@@ -432,7 +434,27 @@ typedef struct VariableSetStmt {
NodeTag type;
char *name;
char *value;
- } VariableSetStmt;
+} VariableSetStmt;
+
+/* ----------------------
+ * Show Statement
+ * ----------------------
+ */
+
+typedef struct VariableShowStmt {
+ NodeTag type;
+ char *name;
+} VariableShowStmt;
+
+/* ----------------------
+ * Reset Statement
+ * ----------------------
+ */
+
+typedef struct VariableResetStmt {
+ NodeTag type;
+ char *name;
+} VariableResetStmt;
/*****************************************************************************