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