Skip to content

Commit bc67a46

Browse files
committed
1. VariableShowStmt and VariableResetStmt added.
2. VacuumStmt changed (for VACUUM ANALYZE...).
1 parent 72fcb4e commit bc67a46

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

src/include/nodes/parsenodes.h

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: parsenodes.h,v 1.13 1997/04/05 06:19:22 vadim Exp $
9+
* $Id: parsenodes.h,v 1.14 1997/04/23 05:58:06 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -410,7 +410,9 @@ typedef struct ClusterStmt {
410410
typedef struct VacuumStmt {
411411
NodeTag type;
412412
bool verbose; /* print status info */
413+
bool analyze; /* analyze data */
413414
char *vacrel; /* table to vacuum */
415+
List *va_spec; /* columns to analyse */
414416
} VacuumStmt;
415417

416418
/* ----------------------
@@ -432,7 +434,27 @@ typedef struct VariableSetStmt {
432434
NodeTag type;
433435
char *name;
434436
char *value;
435-
} VariableSetStmt;
437+
} VariableSetStmt;
438+
439+
/* ----------------------
440+
* Show Statement
441+
* ----------------------
442+
*/
443+
444+
typedef struct VariableShowStmt {
445+
NodeTag type;
446+
char *name;
447+
} VariableShowStmt;
448+
449+
/* ----------------------
450+
* Reset Statement
451+
* ----------------------
452+
*/
453+
454+
typedef struct VariableResetStmt {
455+
NodeTag type;
456+
char *name;
457+
} VariableResetStmt;
436458

437459

438460
/*****************************************************************************

0 commit comments

Comments
 (0)