1 /* A Bison parser, made by GNU Bison 3.3.2.  */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5    Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
6    Inc.
7 
8    This program is free software: you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation, either version 3 of the License, or
11    (at your option) any later version.
12 
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17 
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20 
21 /* As a special exception, you may create a larger work that contains
22    part or all of the Bison parser skeleton and distribute that work
23    under terms of your choice, so long as that work isn't itself a
24    parser generator using the skeleton or a modified version thereof
25    as a parser skeleton.  Alternatively, if you modify or redistribute
26    the parser skeleton itself, you may (at your option) remove this
27    special exception, which will cause the skeleton and the resulting
28    Bison output files to be licensed under the GNU General Public
29    License without this special exception.
30 
31    This special exception was added by the Free Software Foundation in
32    version 2.2 of Bison.  */
33 
34 /* Undocumented macros, especially those whose name start with YY_,
35    are private implementation details.  Do not rely on them.  */
36 
37 #ifndef YY_YY_Y_TAB_H_INCLUDED
38 # define YY_YY_Y_TAB_H_INCLUDED
39 /* Debug traces.  */
40 #ifndef YYDEBUG
41 # define YYDEBUG 0
42 #endif
43 #if YYDEBUG
44 extern int yydebug;
45 #endif
46 
47 /* Token type.  */
48 #ifndef YYTOKENTYPE
49 # define YYTOKENTYPE
50   enum yytokentype
51   {
52     K_LOGFILE = 258,
53     K_MAX = 259,
54     K_ARCHIVES = 260,
55     K_ANALYZE = 261,
56     K_AND = 262,
57     K_ARCHIVE = 263,
58     K_ARCHIVE_COMMENT = 264,
59     K_CASCADE = 265,
60     K_CLUSTER = 266,
61     K_COMMAND = 267,
62     K_COMMIT = 268,
63     K_CONF_COMMENT = 269,
64     K_COPY = 270,
65     K_DATABASE = 271,
66     K_DELETE = 272,
67     K_DESTINATION = 273,
68     K_DIR = 274,
69     K_ERROR = 275,
70     K_EXEC_DDL = 276,
71     K_FROM = 277,
72     K_IGNORE = 278,
73     K_INSERT = 279,
74     K_INTO = 280,
75     K_NAME = 281,
76     K_NAMESPACE = 282,
77     K_NULL = 283,
78     K_ONLY = 284,
79     K_POST = 285,
80     K_PRE = 286,
81     K_PROCESSING = 287,
82     K_RENAME = 288,
83     K_REPLICA = 289,
84     K_SELECT = 290,
85     K_SESSION_ROLE = 291,
86     K_SET = 292,
87     K_START = 293,
88     K_START_ARCHIVE = 294,
89     K_START_CONFIG = 295,
90     K_TABLE = 296,
91     K_TO = 297,
92     K_TRANSACTION = 298,
93     K_TRUNCATE = 299,
94     K_UPDATE = 300,
95     K_VACUUM = 301,
96     K_VALUES = 302,
97     K_WHERE = 303,
98     T_COPYDATA = 304,
99     T_COPYDATA_PART = 305,
100     T_COPYEND = 306,
101     T_IDENT = 307,
102     T_LITERAL = 308,
103     T_LITERAL_PART = 309,
104     T_NUMBER = 310,
105     T_TRACKING_FUNCTION = 311,
106     T_FINISH_FUNCTION = 312,
107     T_SEQSETVAL_FUNCTION = 313,
108     T_PGSETVAL_FUNCTION = 314
109   };
110 #endif
111 /* Tokens.  */
112 #define K_LOGFILE 258
113 #define K_MAX 259
114 #define K_ARCHIVES 260
115 #define K_ANALYZE 261
116 #define K_AND 262
117 #define K_ARCHIVE 263
118 #define K_ARCHIVE_COMMENT 264
119 #define K_CASCADE 265
120 #define K_CLUSTER 266
121 #define K_COMMAND 267
122 #define K_COMMIT 268
123 #define K_CONF_COMMENT 269
124 #define K_COPY 270
125 #define K_DATABASE 271
126 #define K_DELETE 272
127 #define K_DESTINATION 273
128 #define K_DIR 274
129 #define K_ERROR 275
130 #define K_EXEC_DDL 276
131 #define K_FROM 277
132 #define K_IGNORE 278
133 #define K_INSERT 279
134 #define K_INTO 280
135 #define K_NAME 281
136 #define K_NAMESPACE 282
137 #define K_NULL 283
138 #define K_ONLY 284
139 #define K_POST 285
140 #define K_PRE 286
141 #define K_PROCESSING 287
142 #define K_RENAME 288
143 #define K_REPLICA 289
144 #define K_SELECT 290
145 #define K_SESSION_ROLE 291
146 #define K_SET 292
147 #define K_START 293
148 #define K_START_ARCHIVE 294
149 #define K_START_CONFIG 295
150 #define K_TABLE 296
151 #define K_TO 297
152 #define K_TRANSACTION 298
153 #define K_TRUNCATE 299
154 #define K_UPDATE 300
155 #define K_VACUUM 301
156 #define K_VALUES 302
157 #define K_WHERE 303
158 #define T_COPYDATA 304
159 #define T_COPYDATA_PART 305
160 #define T_COPYEND 306
161 #define T_IDENT 307
162 #define T_LITERAL 308
163 #define T_LITERAL_PART 309
164 #define T_NUMBER 310
165 #define T_TRACKING_FUNCTION 311
166 #define T_FINISH_FUNCTION 312
167 #define T_SEQSETVAL_FUNCTION 313
168 #define T_PGSETVAL_FUNCTION 314
169 
170 /* Value type.  */
171 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
172 
173 union YYSTYPE
174 {
175 #line 38 "parser.y" /* yacc.c:1921  */
176 
177 	int32		ival;
178 	char	   *str;
179 	AttElem	   *att_elem;
180 	AttElemList	*att_elem_list;
181 	SlonDString *dstring;
182 
183 #line 184 "y.tab.h" /* yacc.c:1921  */
184 };
185 
186 typedef union YYSTYPE YYSTYPE;
187 # define YYSTYPE_IS_TRIVIAL 1
188 # define YYSTYPE_IS_DECLARED 1
189 #endif
190 
191 
192 extern YYSTYPE yylval;
193 
194 int yyparse (void);
195 
196 #endif /* !YY_YY_Y_TAB_H_INCLUDED  */
197