]> granicus.if.org Git - postgresql/commitdiff
1. VariableShowStmt and VariableResetStmt added.
authorVadim B. Mikheev <vadim4o@yahoo.com>
Wed, 23 Apr 1997 05:58:06 +0000 (05:58 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Wed, 23 Apr 1997 05:58:06 +0000 (05:58 +0000)
2. VacuumStmt changed (for VACUUM ANALYZE...).

src/include/nodes/parsenodes.h

index a3641ab52dea2fceef1627cf2c5e56ad5e5f8b26..7ae2cd6e9892333715151d4d78e1907b49e990d9 100644 (file)
@@ -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;
 
 
 /*****************************************************************************