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