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