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