| 1 | /* A Bison parser, made by GNU Bison 2.3. */ |
| 2 | |
| 3 | /* Skeleton interface for Bison's Yacc-like parsers in C |
| 4 | |
| 5 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
| 6 | Free Software Foundation, 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 2, or (at your option) |
| 11 | 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, write to the Free Software |
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 21 | Boston, MA 02110-1301, USA. */ |
| 22 | |
| 23 | /* As a special exception, you may create a larger work that contains |
| 24 | part or all of the Bison parser skeleton and distribute that work |
| 25 | under terms of your choice, so long as that work isn't itself a |
| 26 | parser generator using the skeleton or a modified version thereof |
| 27 | as a parser skeleton. Alternatively, if you modify or redistribute |
| 28 | the parser skeleton itself, you may (at your option) remove this |
| 29 | special exception, which will cause the skeleton and the resulting |
| 30 | Bison output files to be licensed under the GNU General Public |
| 31 | License without this special exception. |
| 32 | |
| 33 | This special exception was added by the Free Software Foundation in |
| 34 | version 2.2 of Bison. */ |
| 35 | |
| 36 | /* Tokens. */ |
| 37 | #ifndef YYTOKENTYPE |
| 38 | # define YYTOKENTYPE |
| 39 | /* Put the tokens into the symbol table, so that GDB and other debuggers |
| 40 | know about them. */ |
| 41 | enum yytokentype { |
| 42 | IDENT = 258, |
| 43 | FCONST = 259, |
| 44 | SCONST = 260, |
| 45 | BCONST = 261, |
| 46 | XCONST = 262, |
| 47 | Op = 263, |
| 48 | ICONST = 264, |
| 49 | PARAM = 265, |
| 50 | TYPECAST = 266, |
| 51 | DOT_DOT = 267, |
| 52 | COLON_EQUALS = 268, |
| 53 | EQUALS_GREATER = 269, |
| 54 | LESS_EQUALS = 270, |
| 55 | GREATER_EQUALS = 271, |
| 56 | NOT_EQUALS = 272, |
| 57 | ABORT_P = 273, |
| 58 | ABSOLUTE_P = 274, |
| 59 | ACCESS = 275, |
| 60 | ACTION = 276, |
| 61 | ADD_P = 277, |
| 62 | ADMIN = 278, |
| 63 | AFTER = 279, |
| 64 | AGGREGATE = 280, |
| 65 | ALL = 281, |
| 66 | ALSO = 282, |
| 67 | ALTER = 283, |
| 68 | ALWAYS = 284, |
| 69 | ANALYSE = 285, |
| 70 | ANALYZE = 286, |
| 71 | AND = 287, |
| 72 | ANY = 288, |
| 73 | ARRAY = 289, |
| 74 | AS = 290, |
| 75 | ASC_P = 291, |
| 76 | ASSERTION = 292, |
| 77 | ASSIGNMENT = 293, |
| 78 | ASYMMETRIC = 294, |
| 79 | AT = 295, |
| 80 | ATTACH = 296, |
| 81 | ATTRIBUTE = 297, |
| 82 | AUTHORIZATION = 298, |
| 83 | BACKWARD = 299, |
| 84 | BEFORE = 300, |
| 85 | BEGIN_P = 301, |
| 86 | BETWEEN = 302, |
| 87 | BIGINT = 303, |
| 88 | BINARY = 304, |
| 89 | BIT = 305, |
| 90 | BOOLEAN_P = 306, |
| 91 | BOTH = 307, |
| 92 | BY = 308, |
| 93 | CACHE = 309, |
| 94 | CALLED = 310, |
| 95 | CASCADE = 311, |
| 96 | CASCADED = 312, |
| 97 | CASE = 313, |
| 98 | CAST = 314, |
| 99 | CATALOG_P = 315, |
| 100 | CHAIN = 316, |
| 101 | CHAR_P = 317, |
| 102 | CHARACTER = 318, |
| 103 | CHARACTERISTICS = 319, |
| 104 | CHECK_P = 320, |
| 105 | CHECKPOINT = 321, |
| 106 | CLASS = 322, |
| 107 | CLOSE = 323, |
| 108 | CLUSTER = 324, |
| 109 | COALESCE = 325, |
| 110 | COLLATE = 326, |
| 111 | COLLATION = 327, |
| 112 | COLUMN = 328, |
| 113 | COLUMNS = 329, |
| 114 | COMMENT = 330, |
| 115 | COMMENTS = 331, |
| 116 | COMMIT = 332, |
| 117 | COMMITTED = 333, |
| 118 | CONCURRENTLY = 334, |
| 119 | CONFIGURATION = 335, |
| 120 | CONFLICT = 336, |
| 121 | CONNECTION = 337, |
| 122 | CONSTRAINT = 338, |
| 123 | CONSTRAINTS = 339, |
| 124 | CONTENT_P = 340, |
| 125 | CONTINUE_P = 341, |
| 126 | CONVERSION_P = 342, |
| 127 | COPY = 343, |
| 128 | COST = 344, |
| 129 | CREATE_P = 345, |
| 130 | CROSS = 346, |
| 131 | CSV = 347, |
| 132 | CUBE = 348, |
| 133 | CURRENT_P = 349, |
| 134 | CURRENT_CATALOG = 350, |
| 135 | CURRENT_DATE = 351, |
| 136 | CURRENT_ROLE = 352, |
| 137 | CURRENT_SCHEMA = 353, |
| 138 | CURRENT_TIME = 354, |
| 139 | CURRENT_TIMESTAMP = 355, |
| 140 | CURRENT_USER = 356, |
| 141 | CURSOR = 357, |
| 142 | CYCLE = 358, |
| 143 | DATA_P = 359, |
| 144 | DATABASE = 360, |
| 145 | DAY_P = 361, |
| 146 | DEALLOCATE = 362, |
| 147 | DEC = 363, |
| 148 | DECIMAL_P = 364, |
| 149 | DECLARE = 365, |
| 150 | DEFAULT = 366, |
| 151 | DEFAULTS = 367, |
| 152 | DEFERRABLE = 368, |
| 153 | DEFERRED = 369, |
| 154 | DEFINER = 370, |
| 155 | DELETE_P = 371, |
| 156 | DELIMITER = 372, |
| 157 | DELIMITERS = 373, |
| 158 | DEPENDS = 374, |
| 159 | DESC_P = 375, |
| 160 | DESCRIBE = 376, |
| 161 | DETACH = 377, |
| 162 | DICTIONARY = 378, |
| 163 | DISABLE_P = 379, |
| 164 | DISCARD = 380, |
| 165 | DISTINCT = 381, |
| 166 | DO = 382, |
| 167 | DOCUMENT_P = 383, |
| 168 | DOMAIN_P = 384, |
| 169 | DOUBLE_P = 385, |
| 170 | DROP = 386, |
| 171 | EACH = 387, |
| 172 | ELSE = 388, |
| 173 | ENABLE_P = 389, |
| 174 | ENCODING = 390, |
| 175 | ENCRYPTED = 391, |
| 176 | END_P = 392, |
| 177 | ENUM_P = 393, |
| 178 | ESCAPE = 394, |
| 179 | EVENT = 395, |
| 180 | EXCEPT = 396, |
| 181 | EXCLUDE = 397, |
| 182 | EXCLUDING = 398, |
| 183 | EXCLUSIVE = 399, |
| 184 | EXECUTE = 400, |
| 185 | EXISTS = 401, |
| 186 | EXPLAIN = 402, |
| 187 | EXTENSION = 403, |
| 188 | EXTERNAL = 404, |
| 189 | EXTRACT = 405, |
| 190 | FALSE_P = 406, |
| 191 | FAMILY = 407, |
| 192 | FETCH = 408, |
| 193 | FILTER = 409, |
| 194 | FIRST_P = 410, |
| 195 | FLOAT_P = 411, |
| 196 | FOLLOWING = 412, |
| 197 | FOR = 413, |
| 198 | FORCE = 414, |
| 199 | FOREIGN = 415, |
| 200 | FORWARD = 416, |
| 201 | FREEZE = 417, |
| 202 | FROM = 418, |
| 203 | FULL = 419, |
| 204 | FUNCTION = 420, |
| 205 | FUNCTIONS = 421, |
| 206 | GENERATED = 422, |
| 207 | GLOBAL = 423, |
| 208 | GRANT = 424, |
| 209 | GRANTED = 425, |
| 210 | GREATEST = 426, |
| 211 | GROUP_P = 427, |
| 212 | GROUPING = 428, |
| 213 | HANDLER = 429, |
| 214 | HAVING = 430, |
| 215 | HEADER_P = 431, |
| 216 | HOLD = 432, |
| 217 | HOUR_P = 433, |
| 218 | IDENTITY_P = 434, |
| 219 | IF_P = 435, |
| 220 | ILIKE = 436, |
| 221 | IMMEDIATE = 437, |
| 222 | IMMUTABLE = 438, |
| 223 | IMPLICIT_P = 439, |
| 224 | IMPORT_P = 440, |
| 225 | IN_P = 441, |
| 226 | INCLUDING = 442, |
| 227 | INCREMENT = 443, |
| 228 | INDEX = 444, |
| 229 | INDEXES = 445, |
| 230 | INHERIT = 446, |
| 231 | INHERITS = 447, |
| 232 | INITIALLY = 448, |
| 233 | INLINE_P = 449, |
| 234 | INNER_P = 450, |
| 235 | INOUT = 451, |
| 236 | INPUT_P = 452, |
| 237 | INSENSITIVE = 453, |
| 238 | INSERT = 454, |
| 239 | INSTEAD = 455, |
| 240 | INT_P = 456, |
| 241 | INTEGER = 457, |
| 242 | INTERSECT = 458, |
| 243 | INTERVAL = 459, |
| 244 | INTO = 460, |
| 245 | INVOKER = 461, |
| 246 | IS = 462, |
| 247 | ISNULL = 463, |
| 248 | ISOLATION = 464, |
| 249 | JOIN = 465, |
| 250 | KEY = 466, |
| 251 | LABEL = 467, |
| 252 | LANGUAGE = 468, |
| 253 | LARGE_P = 469, |
| 254 | LAST_P = 470, |
| 255 | LATERAL_P = 471, |
| 256 | LEADING = 472, |
| 257 | LEAKPROOF = 473, |
| 258 | LEAST = 474, |
| 259 | LEFT = 475, |
| 260 | LEVEL = 476, |
| 261 | LIKE = 477, |
| 262 | LIMIT = 478, |
| 263 | LISTEN = 479, |
| 264 | LOAD = 480, |
| 265 | LOCAL = 481, |
| 266 | LOCALTIME = 482, |
| 267 | LOCALTIMESTAMP = 483, |
| 268 | LOCATION = 484, |
| 269 | LOCK_P = 485, |
| 270 | LOCKED = 486, |
| 271 | LOGGED = 487, |
| 272 | MAPPING = 488, |
| 273 | MATCH = 489, |
| 274 | MATERIALIZED = 490, |
| 275 | MAXVALUE = 491, |
| 276 | METHOD = 492, |
| 277 | MINUTE_P = 493, |
| 278 | MINVALUE = 494, |
| 279 | MODE = 495, |
| 280 | MONTH_P = 496, |
| 281 | MOVE = 497, |
| 282 | NAME_P = 498, |
| 283 | NAMES = 499, |
| 284 | NATIONAL = 500, |
| 285 | NATURAL = 501, |
| 286 | NCHAR = 502, |
| 287 | NEW = 503, |
| 288 | NEXT = 504, |
| 289 | NO = 505, |
| 290 | NONE = 506, |
| 291 | NOT = 507, |
| 292 | NOTHING = 508, |
| 293 | NOTIFY = 509, |
| 294 | NOTNULL = 510, |
| 295 | NOWAIT = 511, |
| 296 | NULL_P = 512, |
| 297 | NULLIF = 513, |
| 298 | NULLS_P = 514, |
| 299 | NUMERIC = 515, |
| 300 | OBJECT_P = 516, |
| 301 | OF = 517, |
| 302 | OFF = 518, |
| 303 | OFFSET = 519, |
| 304 | OIDS = 520, |
| 305 | OLD = 521, |
| 306 | ON = 522, |
| 307 | ONLY = 523, |
| 308 | OPERATOR = 524, |
| 309 | OPTION = 525, |
| 310 | OPTIONS = 526, |
| 311 | OR = 527, |
| 312 | ORDER = 528, |
| 313 | ORDINALITY = 529, |
| 314 | OUT_P = 530, |
| 315 | OUTER_P = 531, |
| 316 | OVER = 532, |
| 317 | OVERLAPS = 533, |
| 318 | OVERLAY = 534, |
| 319 | OVERRIDING = 535, |
| 320 | OWNED = 536, |
| 321 | OWNER = 537, |
| 322 | PARALLEL = 538, |
| 323 | PARSER = 539, |
| 324 | PARTIAL = 540, |
| 325 | PARTITION = 541, |
| 326 | PASSING = 542, |
| 327 | PASSWORD = 543, |
| 328 | PLACING = 544, |
| 329 | PLANS = 545, |
| 330 | POLICY = 546, |
| 331 | POSITION = 547, |
| 332 | PRAGMA_P = 548, |
| 333 | PRECEDING = 549, |
| 334 | PRECISION = 550, |
| 335 | PREPARE = 551, |
| 336 | PREPARED = 552, |
| 337 | PRESERVE = 553, |
| 338 | PRIMARY = 554, |
| 339 | PRIOR = 555, |
| 340 | PRIVILEGES = 556, |
| 341 | PROCEDURAL = 557, |
| 342 | PROCEDURE = 558, |
| 343 | PROGRAM = 559, |
| 344 | PUBLICATION = 560, |
| 345 | QUOTE = 561, |
| 346 | RANGE = 562, |
| 347 | READ_P = 563, |
| 348 | REAL = 564, |
| 349 | REASSIGN = 565, |
| 350 | RECHECK = 566, |
| 351 | RECURSIVE = 567, |
| 352 | REF = 568, |
| 353 | REFERENCES = 569, |
| 354 | REFERENCING = 570, |
| 355 | REFRESH = 571, |
| 356 | REINDEX = 572, |
| 357 | RELATIVE_P = 573, |
| 358 | RELEASE = 574, |
| 359 | RENAME = 575, |
| 360 | REPEATABLE = 576, |
| 361 | REPLACE = 577, |
| 362 | REPLICA = 578, |
| 363 | RESET = 579, |
| 364 | RESTART = 580, |
| 365 | RESTRICT = 581, |
| 366 | RETURNING = 582, |
| 367 | RETURNS = 583, |
| 368 | REVOKE = 584, |
| 369 | RIGHT = 585, |
| 370 | ROLE = 586, |
| 371 | ROLLBACK = 587, |
| 372 | ROLLUP = 588, |
| 373 | ROW = 589, |
| 374 | ROWS = 590, |
| 375 | RULE = 591, |
| 376 | SAVEPOINT = 592, |
| 377 | SCHEMA = 593, |
| 378 | SCHEMAS = 594, |
| 379 | SCROLL = 595, |
| 380 | SEARCH = 596, |
| 381 | SECOND_P = 597, |
| 382 | SECURITY = 598, |
| 383 | SELECT = 599, |
| 384 | SEQUENCE = 600, |
| 385 | SEQUENCES = 601, |
| 386 | SERIALIZABLE = 602, |
| 387 | SERVER = 603, |
| 388 | SESSION = 604, |
| 389 | SESSION_USER = 605, |
| 390 | SET = 606, |
| 391 | SETOF = 607, |
| 392 | SETS = 608, |
| 393 | SHARE = 609, |
| 394 | SHOW = 610, |
| 395 | SIMILAR = 611, |
| 396 | SIMPLE = 612, |
| 397 | SKIP = 613, |
| 398 | SMALLINT = 614, |
| 399 | SNAPSHOT = 615, |
| 400 | SOME = 616, |
| 401 | SQL_P = 617, |
| 402 | STABLE = 618, |
| 403 | STANDALONE_P = 619, |
| 404 | START = 620, |
| 405 | STATEMENT = 621, |
| 406 | STATISTICS = 622, |
| 407 | STDIN = 623, |
| 408 | STDOUT = 624, |
| 409 | STORAGE = 625, |
| 410 | STRICT_P = 626, |
| 411 | STRIP_P = 627, |
| 412 | SUBSCRIPTION = 628, |
| 413 | SUBSTRING = 629, |
| 414 | SYMMETRIC = 630, |
| 415 | SYSID = 631, |
| 416 | SYSTEM_P = 632, |
| 417 | TABLE = 633, |
| 418 | TABLES = 634, |
| 419 | TABLESAMPLE = 635, |
| 420 | TABLESPACE = 636, |
| 421 | TEMP = 637, |
| 422 | TEMPLATE = 638, |
| 423 | TEMPORARY = 639, |
| 424 | TEXT_P = 640, |
| 425 | THEN = 641, |
| 426 | TIME = 642, |
| 427 | TIMESTAMP = 643, |
| 428 | TO = 644, |
| 429 | TRAILING = 645, |
| 430 | TRANSACTION = 646, |
| 431 | TRANSFORM = 647, |
| 432 | TREAT = 648, |
| 433 | TRIGGER = 649, |
| 434 | TRIM = 650, |
| 435 | TRUE_P = 651, |
| 436 | TRUNCATE = 652, |
| 437 | TRUSTED = 653, |
| 438 | TYPE_P = 654, |
| 439 | TYPES_P = 655, |
| 440 | UNBOUNDED = 656, |
| 441 | UNCOMMITTED = 657, |
| 442 | UNENCRYPTED = 658, |
| 443 | UNION = 659, |
| 444 | UNIQUE = 660, |
| 445 | UNKNOWN = 661, |
| 446 | UNLISTEN = 662, |
| 447 | UNLOGGED = 663, |
| 448 | UNTIL = 664, |
| 449 | UPDATE = 665, |
| 450 | USER = 666, |
| 451 | USING = 667, |
| 452 | VACUUM = 668, |
| 453 | VALID = 669, |
| 454 | VALIDATE = 670, |
| 455 | VALIDATOR = 671, |
| 456 | VALUE_P = 672, |
| 457 | VALUES = 673, |
| 458 | VARCHAR = 674, |
| 459 | VARIADIC = 675, |
| 460 | VARYING = 676, |
| 461 | VERBOSE = 677, |
| 462 | VERSION_P = 678, |
| 463 | VIEW = 679, |
| 464 | VIEWS = 680, |
| 465 | VOLATILE = 681, |
| 466 | WHEN = 682, |
| 467 | WHERE = 683, |
| 468 | WHITESPACE_P = 684, |
| 469 | WINDOW = 685, |
| 470 | WITH = 686, |
| 471 | WITHIN = 687, |
| 472 | WITHOUT = 688, |
| 473 | WORK = 689, |
| 474 | WRAPPER = 690, |
| 475 | WRITE_P = 691, |
| 476 | XML_P = 692, |
| 477 | XMLATTRIBUTES = 693, |
| 478 | XMLCONCAT = 694, |
| 479 | XMLELEMENT = 695, |
| 480 | XMLEXISTS = 696, |
| 481 | XMLFOREST = 697, |
| 482 | XMLNAMESPACES = 698, |
| 483 | XMLPARSE = 699, |
| 484 | XMLPI = 700, |
| 485 | XMLROOT = 701, |
| 486 | XMLSERIALIZE = 702, |
| 487 | XMLTABLE = 703, |
| 488 | YEAR_P = 704, |
| 489 | YES_P = 705, |
| 490 | ZONE = 706, |
| 491 | NOT_LA = 707, |
| 492 | NULLS_LA = 708, |
| 493 | WITH_LA = 709, |
| 494 | POSTFIXOP = 710, |
| 495 | UMINUS = 711 |
| 496 | }; |
| 497 | #endif |
| 498 | /* Tokens. */ |
| 499 | #define IDENT 258 |
| 500 | #define FCONST 259 |
| 501 | #define SCONST 260 |
| 502 | #define BCONST 261 |
| 503 | #define XCONST 262 |
| 504 | #define Op 263 |
| 505 | #define ICONST 264 |
| 506 | #define PARAM 265 |
| 507 | #define TYPECAST 266 |
| 508 | #define DOT_DOT 267 |
| 509 | #define COLON_EQUALS 268 |
| 510 | #define EQUALS_GREATER 269 |
| 511 | #define LESS_EQUALS 270 |
| 512 | #define GREATER_EQUALS 271 |
| 513 | #define NOT_EQUALS 272 |
| 514 | #define ABORT_P 273 |
| 515 | #define ABSOLUTE_P 274 |
| 516 | #define ACCESS 275 |
| 517 | #define ACTION 276 |
| 518 | #define ADD_P 277 |
| 519 | #define ADMIN 278 |
| 520 | #define AFTER 279 |
| 521 | #define AGGREGATE 280 |
| 522 | #define ALL 281 |
| 523 | #define ALSO 282 |
| 524 | #define ALTER 283 |
| 525 | #define ALWAYS 284 |
| 526 | #define ANALYSE 285 |
| 527 | #define ANALYZE 286 |
| 528 | #define AND 287 |
| 529 | #define ANY 288 |
| 530 | #define ARRAY 289 |
| 531 | #define AS 290 |
| 532 | #define ASC_P 291 |
| 533 | #define ASSERTION 292 |
| 534 | #define ASSIGNMENT 293 |
| 535 | #define ASYMMETRIC 294 |
| 536 | #define AT 295 |
| 537 | #define ATTACH 296 |
| 538 | #define ATTRIBUTE 297 |
| 539 | #define AUTHORIZATION 298 |
| 540 | #define BACKWARD 299 |
| 541 | #define BEFORE 300 |
| 542 | #define BEGIN_P 301 |
| 543 | #define BETWEEN 302 |
| 544 | #define BIGINT 303 |
| 545 | #define BINARY 304 |
| 546 | #define BIT 305 |
| 547 | #define BOOLEAN_P 306 |
| 548 | #define BOTH 307 |
| 549 | #define BY 308 |
| 550 | #define CACHE 309 |
| 551 | #define CALLED 310 |
| 552 | #define CASCADE 311 |
| 553 | #define CASCADED 312 |
| 554 | #define CASE 313 |
| 555 | #define CAST 314 |
| 556 | #define CATALOG_P 315 |
| 557 | #define CHAIN 316 |
| 558 | #define CHAR_P 317 |
| 559 | #define CHARACTER 318 |
| 560 | #define CHARACTERISTICS 319 |
| 561 | #define CHECK_P 320 |
| 562 | #define CHECKPOINT 321 |
| 563 | #define CLASS 322 |
| 564 | #define CLOSE 323 |
| 565 | #define CLUSTER 324 |
| 566 | #define COALESCE 325 |
| 567 | #define COLLATE 326 |
| 568 | #define COLLATION 327 |
| 569 | #define COLUMN 328 |
| 570 | #define COLUMNS 329 |
| 571 | #define 330 |
| 572 | #define 331 |
| 573 | #define COMMIT 332 |
| 574 | #define COMMITTED 333 |
| 575 | #define CONCURRENTLY 334 |
| 576 | #define CONFIGURATION 335 |
| 577 | #define CONFLICT 336 |
| 578 | #define CONNECTION 337 |
| 579 | #define CONSTRAINT 338 |
| 580 | #define CONSTRAINTS 339 |
| 581 | #define CONTENT_P 340 |
| 582 | #define CONTINUE_P 341 |
| 583 | #define CONVERSION_P 342 |
| 584 | #define COPY 343 |
| 585 | #define COST 344 |
| 586 | #define CREATE_P 345 |
| 587 | #define CROSS 346 |
| 588 | #define CSV 347 |
| 589 | #define CUBE 348 |
| 590 | #define CURRENT_P 349 |
| 591 | #define CURRENT_CATALOG 350 |
| 592 | #define CURRENT_DATE 351 |
| 593 | #define CURRENT_ROLE 352 |
| 594 | #define CURRENT_SCHEMA 353 |
| 595 | #define CURRENT_TIME 354 |
| 596 | #define CURRENT_TIMESTAMP 355 |
| 597 | #define CURRENT_USER 356 |
| 598 | #define CURSOR 357 |
| 599 | #define CYCLE 358 |
| 600 | #define DATA_P 359 |
| 601 | #define DATABASE 360 |
| 602 | #define DAY_P 361 |
| 603 | #define DEALLOCATE 362 |
| 604 | #define DEC 363 |
| 605 | #define DECIMAL_P 364 |
| 606 | #define DECLARE 365 |
| 607 | #define DEFAULT 366 |
| 608 | #define DEFAULTS 367 |
| 609 | #define DEFERRABLE 368 |
| 610 | #define DEFERRED 369 |
| 611 | #define DEFINER 370 |
| 612 | #define DELETE_P 371 |
| 613 | #define DELIMITER 372 |
| 614 | #define DELIMITERS 373 |
| 615 | #define DEPENDS 374 |
| 616 | #define DESC_P 375 |
| 617 | #define DESCRIBE 376 |
| 618 | #define DETACH 377 |
| 619 | #define DICTIONARY 378 |
| 620 | #define DISABLE_P 379 |
| 621 | #define DISCARD 380 |
| 622 | #define DISTINCT 381 |
| 623 | #define DO 382 |
| 624 | #define DOCUMENT_P 383 |
| 625 | #define DOMAIN_P 384 |
| 626 | #define DOUBLE_P 385 |
| 627 | #define DROP 386 |
| 628 | #define EACH 387 |
| 629 | #define ELSE 388 |
| 630 | #define ENABLE_P 389 |
| 631 | #define ENCODING 390 |
| 632 | #define ENCRYPTED 391 |
| 633 | #define END_P 392 |
| 634 | #define ENUM_P 393 |
| 635 | #define ESCAPE 394 |
| 636 | #define EVENT 395 |
| 637 | #define EXCEPT 396 |
| 638 | #define EXCLUDE 397 |
| 639 | #define EXCLUDING 398 |
| 640 | #define EXCLUSIVE 399 |
| 641 | #define EXECUTE 400 |
| 642 | #define EXISTS 401 |
| 643 | #define EXPLAIN 402 |
| 644 | #define EXTENSION 403 |
| 645 | #define EXTERNAL 404 |
| 646 | #define 405 |
| 647 | #define FALSE_P 406 |
| 648 | #define FAMILY 407 |
| 649 | #define FETCH 408 |
| 650 | #define FILTER 409 |
| 651 | #define FIRST_P 410 |
| 652 | #define FLOAT_P 411 |
| 653 | #define FOLLOWING 412 |
| 654 | #define FOR 413 |
| 655 | #define FORCE 414 |
| 656 | #define FOREIGN 415 |
| 657 | #define FORWARD 416 |
| 658 | #define FREEZE 417 |
| 659 | #define FROM 418 |
| 660 | #define FULL 419 |
| 661 | #define FUNCTION 420 |
| 662 | #define FUNCTIONS 421 |
| 663 | #define GENERATED 422 |
| 664 | #define GLOBAL 423 |
| 665 | #define GRANT 424 |
| 666 | #define GRANTED 425 |
| 667 | #define GREATEST 426 |
| 668 | #define GROUP_P 427 |
| 669 | #define GROUPING 428 |
| 670 | #define HANDLER 429 |
| 671 | #define HAVING 430 |
| 672 | #define 431 |
| 673 | #define HOLD 432 |
| 674 | #define HOUR_P 433 |
| 675 | #define IDENTITY_P 434 |
| 676 | #define IF_P 435 |
| 677 | #define ILIKE 436 |
| 678 | #define IMMEDIATE 437 |
| 679 | #define IMMUTABLE 438 |
| 680 | #define IMPLICIT_P 439 |
| 681 | #define IMPORT_P 440 |
| 682 | #define IN_P 441 |
| 683 | #define INCLUDING 442 |
| 684 | #define INCREMENT 443 |
| 685 | #define INDEX 444 |
| 686 | #define INDEXES 445 |
| 687 | #define INHERIT 446 |
| 688 | #define INHERITS 447 |
| 689 | #define INITIALLY 448 |
| 690 | #define INLINE_P 449 |
| 691 | #define INNER_P 450 |
| 692 | #define INOUT 451 |
| 693 | #define INPUT_P 452 |
| 694 | #define INSENSITIVE 453 |
| 695 | #define INSERT 454 |
| 696 | #define INSTEAD 455 |
| 697 | #define INT_P 456 |
| 698 | #define INTEGER 457 |
| 699 | #define INTERSECT 458 |
| 700 | #define INTERVAL 459 |
| 701 | #define INTO 460 |
| 702 | #define INVOKER 461 |
| 703 | #define IS 462 |
| 704 | #define ISNULL 463 |
| 705 | #define ISOLATION 464 |
| 706 | #define JOIN 465 |
| 707 | #define KEY 466 |
| 708 | #define LABEL 467 |
| 709 | #define LANGUAGE 468 |
| 710 | #define LARGE_P 469 |
| 711 | #define LAST_P 470 |
| 712 | #define LATERAL_P 471 |
| 713 | #define LEADING 472 |
| 714 | #define LEAKPROOF 473 |
| 715 | #define LEAST 474 |
| 716 | #define LEFT 475 |
| 717 | #define LEVEL 476 |
| 718 | #define LIKE 477 |
| 719 | #define LIMIT 478 |
| 720 | #define LISTEN 479 |
| 721 | #define LOAD 480 |
| 722 | #define LOCAL 481 |
| 723 | #define LOCALTIME 482 |
| 724 | #define LOCALTIMESTAMP 483 |
| 725 | #define LOCATION 484 |
| 726 | #define LOCK_P 485 |
| 727 | #define LOCKED 486 |
| 728 | #define LOGGED 487 |
| 729 | #define MAPPING 488 |
| 730 | #define MATCH 489 |
| 731 | #define MATERIALIZED 490 |
| 732 | #define MAXVALUE 491 |
| 733 | #define METHOD 492 |
| 734 | #define MINUTE_P 493 |
| 735 | #define MINVALUE 494 |
| 736 | #define MODE 495 |
| 737 | #define MONTH_P 496 |
| 738 | #define MOVE 497 |
| 739 | #define NAME_P 498 |
| 740 | #define NAMES 499 |
| 741 | #define NATIONAL 500 |
| 742 | #define NATURAL 501 |
| 743 | #define NCHAR 502 |
| 744 | #define NEW 503 |
| 745 | #define NEXT 504 |
| 746 | #define NO 505 |
| 747 | #define NONE 506 |
| 748 | #define NOT 507 |
| 749 | #define NOTHING 508 |
| 750 | #define NOTIFY 509 |
| 751 | #define NOTNULL 510 |
| 752 | #define NOWAIT 511 |
| 753 | #define NULL_P 512 |
| 754 | #define NULLIF 513 |
| 755 | #define NULLS_P 514 |
| 756 | #define NUMERIC 515 |
| 757 | #define OBJECT_P 516 |
| 758 | #define OF 517 |
| 759 | #define OFF 518 |
| 760 | #define OFFSET 519 |
| 761 | #define OIDS 520 |
| 762 | #define OLD 521 |
| 763 | #define ON 522 |
| 764 | #define ONLY 523 |
| 765 | #define OPERATOR 524 |
| 766 | #define OPTION 525 |
| 767 | #define OPTIONS 526 |
| 768 | #define OR 527 |
| 769 | #define ORDER 528 |
| 770 | #define ORDINALITY 529 |
| 771 | #define OUT_P 530 |
| 772 | #define OUTER_P 531 |
| 773 | #define OVER 532 |
| 774 | #define OVERLAPS 533 |
| 775 | #define OVERLAY 534 |
| 776 | #define OVERRIDING 535 |
| 777 | #define OWNED 536 |
| 778 | #define OWNER 537 |
| 779 | #define PARALLEL 538 |
| 780 | #define PARSER 539 |
| 781 | #define PARTIAL 540 |
| 782 | #define PARTITION 541 |
| 783 | #define PASSING 542 |
| 784 | #define PASSWORD 543 |
| 785 | #define PLACING 544 |
| 786 | #define PLANS 545 |
| 787 | #define POLICY 546 |
| 788 | #define POSITION 547 |
| 789 | #define PRAGMA_P 548 |
| 790 | #define PRECEDING 549 |
| 791 | #define PRECISION 550 |
| 792 | #define PREPARE 551 |
| 793 | #define PREPARED 552 |
| 794 | #define PRESERVE 553 |
| 795 | #define PRIMARY 554 |
| 796 | #define PRIOR 555 |
| 797 | #define PRIVILEGES 556 |
| 798 | #define PROCEDURAL 557 |
| 799 | #define PROCEDURE 558 |
| 800 | #define PROGRAM 559 |
| 801 | #define PUBLICATION 560 |
| 802 | #define QUOTE 561 |
| 803 | #define RANGE 562 |
| 804 | #define READ_P 563 |
| 805 | #define REAL 564 |
| 806 | #define REASSIGN 565 |
| 807 | #define RECHECK 566 |
| 808 | #define RECURSIVE 567 |
| 809 | #define REF 568 |
| 810 | #define REFERENCES 569 |
| 811 | #define REFERENCING 570 |
| 812 | #define REFRESH 571 |
| 813 | #define REINDEX 572 |
| 814 | #define RELATIVE_P 573 |
| 815 | #define RELEASE 574 |
| 816 | #define RENAME 575 |
| 817 | #define REPEATABLE 576 |
| 818 | #define REPLACE 577 |
| 819 | #define REPLICA 578 |
| 820 | #define RESET 579 |
| 821 | #define RESTART 580 |
| 822 | #define RESTRICT 581 |
| 823 | #define RETURNING 582 |
| 824 | #define RETURNS 583 |
| 825 | #define REVOKE 584 |
| 826 | #define RIGHT 585 |
| 827 | #define ROLE 586 |
| 828 | #define ROLLBACK 587 |
| 829 | #define ROLLUP 588 |
| 830 | #define ROW 589 |
| 831 | #define ROWS 590 |
| 832 | #define RULE 591 |
| 833 | #define SAVEPOINT 592 |
| 834 | #define SCHEMA 593 |
| 835 | #define SCHEMAS 594 |
| 836 | #define SCROLL 595 |
| 837 | #define SEARCH 596 |
| 838 | #define SECOND_P 597 |
| 839 | #define SECURITY 598 |
| 840 | #define SELECT 599 |
| 841 | #define SEQUENCE 600 |
| 842 | #define SEQUENCES 601 |
| 843 | #define SERIALIZABLE 602 |
| 844 | #define SERVER 603 |
| 845 | #define SESSION 604 |
| 846 | #define SESSION_USER 605 |
| 847 | #define SET 606 |
| 848 | #define SETOF 607 |
| 849 | #define SETS 608 |
| 850 | #define SHARE 609 |
| 851 | #define SHOW 610 |
| 852 | #define SIMILAR 611 |
| 853 | #define SIMPLE 612 |
| 854 | #define SKIP 613 |
| 855 | #define SMALLINT 614 |
| 856 | #define SNAPSHOT 615 |
| 857 | #define SOME 616 |
| 858 | #define SQL_P 617 |
| 859 | #define STABLE 618 |
| 860 | #define STANDALONE_P 619 |
| 861 | #define START 620 |
| 862 | #define STATEMENT 621 |
| 863 | #define STATISTICS 622 |
| 864 | #define STDIN 623 |
| 865 | #define STDOUT 624 |
| 866 | #define STORAGE 625 |
| 867 | #define STRICT_P 626 |
| 868 | #define STRIP_P 627 |
| 869 | #define SUBSCRIPTION 628 |
| 870 | #define SUBSTRING 629 |
| 871 | #define SYMMETRIC 630 |
| 872 | #define SYSID 631 |
| 873 | #define SYSTEM_P 632 |
| 874 | #define TABLE 633 |
| 875 | #define TABLES 634 |
| 876 | #define TABLESAMPLE 635 |
| 877 | #define TABLESPACE 636 |
| 878 | #define TEMP 637 |
| 879 | #define TEMPLATE 638 |
| 880 | #define TEMPORARY 639 |
| 881 | #define TEXT_P 640 |
| 882 | #define THEN 641 |
| 883 | #define TIME 642 |
| 884 | #define TIMESTAMP 643 |
| 885 | #define TO 644 |
| 886 | #define TRAILING 645 |
| 887 | #define TRANSACTION 646 |
| 888 | #define TRANSFORM 647 |
| 889 | #define TREAT 648 |
| 890 | #define TRIGGER 649 |
| 891 | #define TRIM 650 |
| 892 | #define TRUE_P 651 |
| 893 | #define TRUNCATE 652 |
| 894 | #define TRUSTED 653 |
| 895 | #define TYPE_P 654 |
| 896 | #define TYPES_P 655 |
| 897 | #define UNBOUNDED 656 |
| 898 | #define UNCOMMITTED 657 |
| 899 | #define UNENCRYPTED 658 |
| 900 | #define UNION 659 |
| 901 | #define UNIQUE 660 |
| 902 | #define UNKNOWN 661 |
| 903 | #define UNLISTEN 662 |
| 904 | #define UNLOGGED 663 |
| 905 | #define UNTIL 664 |
| 906 | #define UPDATE 665 |
| 907 | #define USER 666 |
| 908 | #define USING 667 |
| 909 | #define VACUUM 668 |
| 910 | #define VALID 669 |
| 911 | #define VALIDATE 670 |
| 912 | #define VALIDATOR 671 |
| 913 | #define VALUE_P 672 |
| 914 | #define VALUES 673 |
| 915 | #define VARCHAR 674 |
| 916 | #define VARIADIC 675 |
| 917 | #define VARYING 676 |
| 918 | #define VERBOSE 677 |
| 919 | #define VERSION_P 678 |
| 920 | #define VIEW 679 |
| 921 | #define VIEWS 680 |
| 922 | #define VOLATILE 681 |
| 923 | #define WHEN 682 |
| 924 | #define WHERE 683 |
| 925 | #define WHITESPACE_P 684 |
| 926 | #define WINDOW 685 |
| 927 | #define WITH 686 |
| 928 | #define WITHIN 687 |
| 929 | #define WITHOUT 688 |
| 930 | #define WORK 689 |
| 931 | #define WRAPPER 690 |
| 932 | #define WRITE_P 691 |
| 933 | #define XML_P 692 |
| 934 | #define XMLATTRIBUTES 693 |
| 935 | #define XMLCONCAT 694 |
| 936 | #define XMLELEMENT 695 |
| 937 | #define XMLEXISTS 696 |
| 938 | #define XMLFOREST 697 |
| 939 | #define XMLNAMESPACES 698 |
| 940 | #define XMLPARSE 699 |
| 941 | #define XMLPI 700 |
| 942 | #define XMLROOT 701 |
| 943 | #define XMLSERIALIZE 702 |
| 944 | #define XMLTABLE 703 |
| 945 | #define YEAR_P 704 |
| 946 | #define YES_P 705 |
| 947 | #define ZONE 706 |
| 948 | #define NOT_LA 707 |
| 949 | #define NULLS_LA 708 |
| 950 | #define WITH_LA 709 |
| 951 | #define POSTFIXOP 710 |
| 952 | #define UMINUS 711 |
| 953 | |
| 954 | |
| 955 | |
| 956 | |
| 957 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 958 | typedef union YYSTYPE |
| 959 | #line 14 "third_party/libpg_query/grammar/grammar.y" |
| 960 | { |
| 961 | core_YYSTYPE core_yystype; |
| 962 | /* these fields must match core_YYSTYPE: */ |
| 963 | int ival; |
| 964 | char *str; |
| 965 | const char *keyword; |
| 966 | const char *conststr; |
| 967 | |
| 968 | char chr; |
| 969 | bool boolean; |
| 970 | PGJoinType jtype; |
| 971 | PGDropBehavior dbehavior; |
| 972 | PGOnCommitAction oncommit; |
| 973 | PGList *list; |
| 974 | PGNode *node; |
| 975 | PGValue *value; |
| 976 | PGObjectType objtype; |
| 977 | PGTypeName *typnam; |
| 978 | PGObjectWithArgs *objwithargs; |
| 979 | PGDefElem *defelt; |
| 980 | PGSortBy *sortby; |
| 981 | PGWindowDef *windef; |
| 982 | PGJoinExpr *jexpr; |
| 983 | PGIndexElem *ielem; |
| 984 | PGAlias *alias; |
| 985 | PGRangeVar *range; |
| 986 | PGIntoClause *into; |
| 987 | PGWithClause *with; |
| 988 | PGInferClause *infer; |
| 989 | PGOnConflictClause *onconflict; |
| 990 | PGAIndices *aind; |
| 991 | PGResTarget *target; |
| 992 | PGInsertStmt *istmt; |
| 993 | PGVariableSetStmt *vsetstmt; |
| 994 | PGOverridingKind override; |
| 995 | PGSortByDir sortorder; |
| 996 | PGSortByNulls nullorder; |
| 997 | PGLockClauseStrength lockstrength; |
| 998 | PGLockWaitPolicy lockwaitpolicy; |
| 999 | PGSubLinkType subquerytype; |
| 1000 | PGViewCheckOption viewcheckoption; |
| 1001 | } |
| 1002 | /* Line 1529 of yacc.c. */ |
| 1003 | #line 1004 "third_party/libpg_query/grammar/grammar_out.hpp" |
| 1004 | YYSTYPE; |
| 1005 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| 1006 | # define YYSTYPE_IS_DECLARED 1 |
| 1007 | # define YYSTYPE_IS_TRIVIAL 1 |
| 1008 | #endif |
| 1009 | |
| 1010 | |
| 1011 | |
| 1012 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
| 1013 | typedef struct YYLTYPE |
| 1014 | { |
| 1015 | int first_line; |
| 1016 | int first_column; |
| 1017 | int last_line; |
| 1018 | int last_column; |
| 1019 | } YYLTYPE; |
| 1020 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ |
| 1021 | # define YYLTYPE_IS_DECLARED 1 |
| 1022 | # define YYLTYPE_IS_TRIVIAL 1 |
| 1023 | #endif |
| 1024 | |
| 1025 | |
| 1026 | |