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