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