/* A Bison parser, made by GNU Bison 3.3.2.  */

/* Bison interface for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
   Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

/* Undocumented macros, especially those whose name start with YY_,
   are private implementation details.  Do not rely on them.  */

#ifndef YY_BASE_YY_PREPROC_H_INCLUDED
# define YY_BASE_YY_PREPROC_H_INCLUDED
/* Debug traces.  */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int base_yydebug;
#endif

/* Token type.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
  enum yytokentype
  {
    SQL_ALLOCATE = 258,
    SQL_AUTOCOMMIT = 259,
    SQL_BOOL = 260,
    SQL_BREAK = 261,
    SQL_CARDINALITY = 262,
    SQL_CONNECT = 263,
    SQL_COUNT = 264,
    SQL_DATETIME_INTERVAL_CODE = 265,
    SQL_DATETIME_INTERVAL_PRECISION = 266,
    SQL_DESCRIBE = 267,
    SQL_DESCRIPTOR = 268,
    SQL_DISCONNECT = 269,
    SQL_FOUND = 270,
    SQL_FREE = 271,
    SQL_GET = 272,
    SQL_GO = 273,
    SQL_GOTO = 274,
    SQL_IDENTIFIED = 275,
    SQL_INDICATOR = 276,
    SQL_KEY_MEMBER = 277,
    SQL_LENGTH = 278,
    SQL_LONG = 279,
    SQL_NULLABLE = 280,
    SQL_OCTET_LENGTH = 281,
    SQL_OPEN = 282,
    SQL_OUTPUT = 283,
    SQL_REFERENCE = 284,
    SQL_RETURNED_LENGTH = 285,
    SQL_RETURNED_OCTET_LENGTH = 286,
    SQL_SCALE = 287,
    SQL_SECTION = 288,
    SQL_SHORT = 289,
    SQL_SIGNED = 290,
    SQL_SQLERROR = 291,
    SQL_SQLPRINT = 292,
    SQL_SQLWARNING = 293,
    SQL_START = 294,
    SQL_STOP = 295,
    SQL_STRUCT = 296,
    SQL_UNSIGNED = 297,
    SQL_VAR = 298,
    SQL_WHENEVER = 299,
    S_ADD = 300,
    S_AND = 301,
    S_ANYTHING = 302,
    S_AUTO = 303,
    S_CONST = 304,
    S_DEC = 305,
    S_DIV = 306,
    S_DOTPOINT = 307,
    S_EQUAL = 308,
    S_EXTERN = 309,
    S_INC = 310,
    S_LSHIFT = 311,
    S_MEMPOINT = 312,
    S_MEMBER = 313,
    S_MOD = 314,
    S_MUL = 315,
    S_NEQUAL = 316,
    S_OR = 317,
    S_REGISTER = 318,
    S_RSHIFT = 319,
    S_STATIC = 320,
    S_SUB = 321,
    S_VOLATILE = 322,
    S_TYPEDEF = 323,
    CSTRING = 324,
    CVARIABLE = 325,
    CPP_LINE = 326,
    IP = 327,
    IDENT = 328,
    UIDENT = 329,
    FCONST = 330,
    SCONST = 331,
    USCONST = 332,
    BCONST = 333,
    XCONST = 334,
    Op = 335,
    ICONST = 336,
    PARAM = 337,
    TYPECAST = 338,
    DOT_DOT = 339,
    COLON_EQUALS = 340,
    EQUALS_GREATER = 341,
    LESS_EQUALS = 342,
    GREATER_EQUALS = 343,
    NOT_EQUALS = 344,
    ABORT_P = 345,
    ABSOLUTE_P = 346,
    ACCESS = 347,
    ACTION = 348,
    ADD_P = 349,
    ADMIN = 350,
    AFTER = 351,
    AGGREGATE = 352,
    ALL = 353,
    ALSO = 354,
    ALTER = 355,
    ALWAYS = 356,
    ANALYSE = 357,
    ANALYZE = 358,
    AND = 359,
    ANY = 360,
    ARRAY = 361,
    AS = 362,
    ASC = 363,
    ASENSITIVE = 364,
    ASSERTION = 365,
    ASSIGNMENT = 366,
    ASYMMETRIC = 367,
    ATOMIC = 368,
    AT = 369,
    ATTACH = 370,
    ATTRIBUTE = 371,
    AUTHORIZATION = 372,
    BACKWARD = 373,
    BEFORE = 374,
    BEGIN_P = 375,
    BETWEEN = 376,
    BIGINT = 377,
    BINARY = 378,
    BIT = 379,
    BOOLEAN_P = 380,
    BOTH = 381,
    BREADTH = 382,
    BY = 383,
    CACHE = 384,
    CALL = 385,
    CALLED = 386,
    CASCADE = 387,
    CASCADED = 388,
    CASE = 389,
    CAST = 390,
    CATALOG_P = 391,
    CHAIN = 392,
    CHAR_P = 393,
    CHARACTER = 394,
    CHARACTERISTICS = 395,
    CHECK = 396,
    CHECKPOINT = 397,
    CLASS = 398,
    CLOSE = 399,
    CLUSTER = 400,
    COALESCE = 401,
    COLLATE = 402,
    COLLATION = 403,
    COLUMN = 404,
    COLUMNS = 405,
    COMMENT = 406,
    COMMENTS = 407,
    COMMIT = 408,
    COMMITTED = 409,
    COMPRESSION = 410,
    CONCURRENTLY = 411,
    CONFIGURATION = 412,
    CONFLICT = 413,
    CONNECTION = 414,
    CONSTRAINT = 415,
    CONSTRAINTS = 416,
    CONTENT_P = 417,
    CONTINUE_P = 418,
    CONVERSION_P = 419,
    COPY = 420,
    COST = 421,
    CREATE = 422,
    CROSS = 423,
    CSV = 424,
    CUBE = 425,
    CURRENT_P = 426,
    CURRENT_CATALOG = 427,
    CURRENT_DATE = 428,
    CURRENT_ROLE = 429,
    CURRENT_SCHEMA = 430,
    CURRENT_TIME = 431,
    CURRENT_TIMESTAMP = 432,
    CURRENT_USER = 433,
    CURSOR = 434,
    CYCLE = 435,
    DATA_P = 436,
    DATABASE = 437,
    DAY_P = 438,
    DEALLOCATE = 439,
    DEC = 440,
    DECIMAL_P = 441,
    DECLARE = 442,
    DEFAULT = 443,
    DEFAULTS = 444,
    DEFERRABLE = 445,
    DEFERRED = 446,
    DEFINER = 447,
    DELETE_P = 448,
    DELIMITER = 449,
    DELIMITERS = 450,
    DEPENDS = 451,
    DEPTH = 452,
    DESC = 453,
    DETACH = 454,
    DICTIONARY = 455,
    DISABLE_P = 456,
    DISCARD = 457,
    DISTINCT = 458,
    DO = 459,
    DOCUMENT_P = 460,
    DOMAIN_P = 461,
    DOUBLE_P = 462,
    DROP = 463,
    EACH = 464,
    ELSE = 465,
    ENABLE_P = 466,
    ENCODING = 467,
    ENCRYPTED = 468,
    END_P = 469,
    ENUM_P = 470,
    ESCAPE = 471,
    EVENT = 472,
    EXCEPT = 473,
    EXCLUDE = 474,
    EXCLUDING = 475,
    EXCLUSIVE = 476,
    EXECUTE = 477,
    EXISTS = 478,
    EXPLAIN = 479,
    EXPRESSION = 480,
    EXTENSION = 481,
    EXTERNAL = 482,
    EXTRACT = 483,
    FALSE_P = 484,
    FAMILY = 485,
    FETCH = 486,
    FILTER = 487,
    FINALIZE = 488,
    FIRST_P = 489,
    FLOAT_P = 490,
    FOLLOWING = 491,
    FOR = 492,
    FORCE = 493,
    FOREIGN = 494,
    FORWARD = 495,
    FREEZE = 496,
    FROM = 497,
    FULL = 498,
    FUNCTION = 499,
    FUNCTIONS = 500,
    GENERATED = 501,
    GLOBAL = 502,
    GRANT = 503,
    GRANTED = 504,
    GREATEST = 505,
    GROUP_P = 506,
    GROUPING = 507,
    GROUPS = 508,
    HANDLER = 509,
    HAVING = 510,
    HEADER_P = 511,
    HOLD = 512,
    HOUR_P = 513,
    IDENTITY_P = 514,
    IF_P = 515,
    ILIKE = 516,
    IMMEDIATE = 517,
    IMMUTABLE = 518,
    IMPLICIT_P = 519,
    IMPORT_P = 520,
    IN_P = 521,
    INCLUDE = 522,
    INCLUDING = 523,
    INCREMENT = 524,
    INDEX = 525,
    INDEXES = 526,
    INHERIT = 527,
    INHERITS = 528,
    INITIALLY = 529,
    INLINE_P = 530,
    INNER_P = 531,
    INOUT = 532,
    INPUT_P = 533,
    INSENSITIVE = 534,
    INSERT = 535,
    INSTEAD = 536,
    INT_P = 537,
    INTEGER = 538,
    INTERSECT = 539,
    INTERVAL = 540,
    INTO = 541,
    INVOKER = 542,
    IS = 543,
    ISNULL = 544,
    ISOLATION = 545,
    JOIN = 546,
    KEY = 547,
    LABEL = 548,
    LANGUAGE = 549,
    LARGE_P = 550,
    LAST_P = 551,
    LATERAL_P = 552,
    LEADING = 553,
    LEAKPROOF = 554,
    LEAST = 555,
    LEFT = 556,
    LEVEL = 557,
    LIKE = 558,
    LIMIT = 559,
    LISTEN = 560,
    LOAD = 561,
    LOCAL = 562,
    LOCALTIME = 563,
    LOCALTIMESTAMP = 564,
    LOCATION = 565,
    LOCK_P = 566,
    LOCKED = 567,
    LOGGED = 568,
    MAPPING = 569,
    MATCH = 570,
    MATERIALIZED = 571,
    MAXVALUE = 572,
    METHOD = 573,
    MINUTE_P = 574,
    MINVALUE = 575,
    MODE = 576,
    MONTH_P = 577,
    MOVE = 578,
    NAME_P = 579,
    NAMES = 580,
    NATIONAL = 581,
    NATURAL = 582,
    NCHAR = 583,
    NEW = 584,
    NEXT = 585,
    NFC = 586,
    NFD = 587,
    NFKC = 588,
    NFKD = 589,
    NO = 590,
    NONE = 591,
    NORMALIZE = 592,
    NORMALIZED = 593,
    NOT = 594,
    NOTHING = 595,
    NOTIFY = 596,
    NOTNULL = 597,
    NOWAIT = 598,
    NULL_P = 599,
    NULLIF = 600,
    NULLS_P = 601,
    NUMERIC = 602,
    OBJECT_P = 603,
    OF = 604,
    OFF = 605,
    OFFSET = 606,
    OIDS = 607,
    OLD = 608,
    ON = 609,
    ONLY = 610,
    OPERATOR = 611,
    OPTION = 612,
    OPTIONS = 613,
    OR = 614,
    ORDER = 615,
    ORDINALITY = 616,
    OTHERS = 617,
    OUT_P = 618,
    OUTER_P = 619,
    OVER = 620,
    OVERLAPS = 621,
    OVERLAY = 622,
    OVERRIDING = 623,
    OWNED = 624,
    OWNER = 625,
    PARALLEL = 626,
    PARSER = 627,
    PARTIAL = 628,
    PARTITION = 629,
    PASSING = 630,
    PASSWORD = 631,
    PLACING = 632,
    PLANS = 633,
    POLICY = 634,
    POSITION = 635,
    PRECEDING = 636,
    PRECISION = 637,
    PRESERVE = 638,
    PREPARE = 639,
    PREPARED = 640,
    PRIMARY = 641,
    PRIOR = 642,
    PRIVILEGES = 643,
    PROCEDURAL = 644,
    PROCEDURE = 645,
    PROCEDURES = 646,
    PROGRAM = 647,
    PUBLICATION = 648,
    QUOTE = 649,
    RANGE = 650,
    READ = 651,
    REAL = 652,
    REASSIGN = 653,
    RECHECK = 654,
    RECURSIVE = 655,
    REF = 656,
    REFERENCES = 657,
    REFERENCING = 658,
    REFRESH = 659,
    REINDEX = 660,
    RELATIVE_P = 661,
    RELEASE = 662,
    RENAME = 663,
    REPEATABLE = 664,
    REPLACE = 665,
    REPLICA = 666,
    RESET = 667,
    RESTART = 668,
    RESTRICT = 669,
    RETURN = 670,
    RETURNING = 671,
    RETURNS = 672,
    REVOKE = 673,
    RIGHT = 674,
    ROLE = 675,
    ROLLBACK = 676,
    ROLLUP = 677,
    ROUTINE = 678,
    ROUTINES = 679,
    ROW = 680,
    ROWS = 681,
    RULE = 682,
    SAVEPOINT = 683,
    SCHEMA = 684,
    SCHEMAS = 685,
    SCROLL = 686,
    SEARCH = 687,
    SECOND_P = 688,
    SECURITY = 689,
    SELECT = 690,
    SEQUENCE = 691,
    SEQUENCES = 692,
    SERIALIZABLE = 693,
    SERVER = 694,
    SESSION = 695,
    SESSION_USER = 696,
    SET = 697,
    SETS = 698,
    SETOF = 699,
    SHARE = 700,
    SHOW = 701,
    SIMILAR = 702,
    SIMPLE = 703,
    SKIP = 704,
    SMALLINT = 705,
    SNAPSHOT = 706,
    SOME = 707,
    SQL_P = 708,
    STABLE = 709,
    STANDALONE_P = 710,
    START = 711,
    STATEMENT = 712,
    STATISTICS = 713,
    STDIN = 714,
    STDOUT = 715,
    STORAGE = 716,
    STORED = 717,
    STRICT_P = 718,
    STRIP_P = 719,
    SUBSCRIPTION = 720,
    SUBSTRING = 721,
    SUPPORT = 722,
    SYMMETRIC = 723,
    SYSID = 724,
    SYSTEM_P = 725,
    TABLE = 726,
    TABLES = 727,
    TABLESAMPLE = 728,
    TABLESPACE = 729,
    TEMP = 730,
    TEMPLATE = 731,
    TEMPORARY = 732,
    TEXT_P = 733,
    THEN = 734,
    TIES = 735,
    TIME = 736,
    TIMESTAMP = 737,
    TO = 738,
    TRAILING = 739,
    TRANSACTION = 740,
    TRANSFORM = 741,
    TREAT = 742,
    TRIGGER = 743,
    TRIM = 744,
    TRUE_P = 745,
    TRUNCATE = 746,
    TRUSTED = 747,
    TYPE_P = 748,
    TYPES_P = 749,
    UESCAPE = 750,
    UNBOUNDED = 751,
    UNCOMMITTED = 752,
    UNENCRYPTED = 753,
    UNION = 754,
    UNIQUE = 755,
    UNKNOWN = 756,
    UNLISTEN = 757,
    UNLOGGED = 758,
    UNTIL = 759,
    UPDATE = 760,
    USER = 761,
    USING = 762,
    VACUUM = 763,
    VALID = 764,
    VALIDATE = 765,
    VALIDATOR = 766,
    VALUE_P = 767,
    VALUES = 768,
    VARCHAR = 769,
    VARIADIC = 770,
    VARYING = 771,
    VERBOSE = 772,
    VERSION_P = 773,
    VIEW = 774,
    VIEWS = 775,
    VOLATILE = 776,
    WHEN = 777,
    WHERE = 778,
    WHITESPACE_P = 779,
    WINDOW = 780,
    WITH = 781,
    WITHIN = 782,
    WITHOUT = 783,
    WORK = 784,
    WRAPPER = 785,
    WRITE = 786,
    XML_P = 787,
    XMLATTRIBUTES = 788,
    XMLCONCAT = 789,
    XMLELEMENT = 790,
    XMLEXISTS = 791,
    XMLFOREST = 792,
    XMLNAMESPACES = 793,
    XMLPARSE = 794,
    XMLPI = 795,
    XMLROOT = 796,
    XMLSERIALIZE = 797,
    XMLTABLE = 798,
    YEAR_P = 799,
    YES_P = 800,
    ZONE = 801,
    NOT_LA = 802,
    NULLS_LA = 803,
    WITH_LA = 804,
    MODE_TYPE_NAME = 805,
    MODE_PLPGSQL_EXPR = 806,
    MODE_PLPGSQL_ASSIGN1 = 807,
    MODE_PLPGSQL_ASSIGN2 = 808,
    MODE_PLPGSQL_ASSIGN3 = 809,
    UMINUS = 810
  };
#endif

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED

union YYSTYPE
{
#line 612 "preproc.y" /* yacc.c:1921  */

	double	dval;
	char	*str;
	int		ival;
	struct	when		action;
	struct	index		index;
	int		tagname;
	struct	this_type	type;
	enum	ECPGttype	type_enum;
	enum	ECPGdtype	dtype_enum;
	struct	fetch_desc	descriptor;
	struct  su_symbol	struct_union;
	struct	prep		prep;
	struct	exec		exec;
	struct describe		describe;

#line 631 "preproc.h" /* yacc.c:1921  */
};

typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif

/* Location type.  */
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
typedef struct YYLTYPE YYLTYPE;
struct YYLTYPE
{
  int first_line;
  int first_column;
  int last_line;
  int last_column;
};
# define YYLTYPE_IS_DECLARED 1
# define YYLTYPE_IS_TRIVIAL 1
#endif


extern YYSTYPE base_yylval;
extern YYLTYPE base_yylloc;
int base_yyparse (void);

#endif /* !YY_BASE_YY_PREPROC_H_INCLUDED  */
