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

/* Skeleton parser for Yacc-like parsing with Bison,
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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 2, 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, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     ABORT_P = 258,
     ABSOLUTE_P = 259,
     ACCESS = 260,
     ACTION = 261,
     ADD = 262,
     AFTER = 263,
     AGGREGATE = 264,
     ALL = 265,
     ALTER = 266,
     ANALYSE = 267,
     ANALYZE = 268,
     AND = 269,
     ANY = 270,
     ARRAY = 271,
     AS = 272,
     ASC = 273,
     ASSERTION = 274,
     ASSIGNMENT = 275,
     AT = 276,
     AUTHORIZATION = 277,
     BACKWARD = 278,
     BEFORE = 279,
     BEGIN_P = 280,
     BETWEEN = 281,
     BIGINT = 282,
     BINARY = 283,
     BIT = 284,
     BOOLEAN_P = 285,
     BOTH = 286,
     BY = 287,
     CACHE = 288,
     CALLED = 289,
     CASCADE = 290,
     CASE = 291,
     CAST = 292,
     CHAIN = 293,
     CHAR_P = 294,
     CHARACTER = 295,
     CHARACTERISTICS = 296,
     CHECK = 297,
     CHECKPOINT = 298,
     CLASS = 299,
     CLOSE = 300,
     CLUSTER = 301,
     COALESCE = 302,
     COLLATE = 303,
     COLUMN = 304,
     COMMENT = 305,
     COMMIT = 306,
     COMMITTED = 307,
     CONSTRAINT = 308,
     CONSTRAINTS = 309,
     CONVERSION_P = 310,
     CONVERT = 311,
     COPY = 312,
     CREATE = 313,
     CREATEDB = 314,
     CREATEUSER = 315,
     CROSS = 316,
     CURRENT_DATE = 317,
     CURRENT_TIME = 318,
     CURRENT_TIMESTAMP = 319,
     CURRENT_USER = 320,
     CURSOR = 321,
     CYCLE = 322,
     DATABASE = 323,
     DAY_P = 324,
     DEALLOCATE = 325,
     DEC = 326,
     DECIMAL_P = 327,
     DECLARE = 328,
     DEFAULT = 329,
     DEFAULTS = 330,
     DEFERRABLE = 331,
     DEFERRED = 332,
     DEFINER = 333,
     DELETE_P = 334,
     DELIMITER = 335,
     DELIMITERS = 336,
     DESC = 337,
     DISTINCT = 338,
     DO = 339,
     DOMAIN_P = 340,
     DOUBLE_P = 341,
     DROP = 342,
     EACH = 343,
     ELSE = 344,
     ENCODING = 345,
     ENCRYPTED = 346,
     END_P = 347,
     ESCAPE = 348,
     EXCEPT = 349,
     EXCLUDING = 350,
     EXCLUSIVE = 351,
     EXECUTE = 352,
     EXISTS = 353,
     EXPLAIN = 354,
     EXTERNAL = 355,
     EXTRACT = 356,
     FALSE_P = 357,
     FETCH = 358,
     FIRST_P = 359,
     FLOAT_P = 360,
     FOR = 361,
     FORCE = 362,
     FOREIGN = 363,
     FORWARD = 364,
     FREEZE = 365,
     FROM = 366,
     FULL = 367,
     FUNCTION = 368,
     GLOBAL = 369,
     GRANT = 370,
     GROUP_P = 371,
     HANDLER = 372,
     HAVING = 373,
     HOLD = 374,
     HOUR_P = 375,
     ILIKE = 376,
     IMMEDIATE = 377,
     IMMUTABLE = 378,
     IMPLICIT_P = 379,
     IN_P = 380,
     INCLUDING = 381,
     INCREMENT = 382,
     INDEX = 383,
     INHERITS = 384,
     INITIALLY = 385,
     INNER_P = 386,
     INOUT = 387,
     INPUT_P = 388,
     INSENSITIVE = 389,
     INSERT = 390,
     INSTEAD = 391,
     INT_P = 392,
     INTEGER = 393,
     INTERSECT = 394,
     INTERVAL = 395,
     INTO = 396,
     INVOKER = 397,
     IS = 398,
     ISNULL = 399,
     ISOLATION = 400,
     JOIN = 401,
     KEY = 402,
     LANCOMPILER = 403,
     LANGUAGE = 404,
     LAST_P = 405,
     LEADING = 406,
     LEFT = 407,
     LEVEL = 408,
     LIKE = 409,
     LIMIT = 410,
     LISTEN = 411,
     LOAD = 412,
     LOCAL = 413,
     LOCALTIME = 414,
     LOCALTIMESTAMP = 415,
     LOCATION = 416,
     LOCK_P = 417,
     MATCH = 418,
     MAXVALUE = 419,
     MINUTE_P = 420,
     MINVALUE = 421,
     MODE = 422,
     MONTH_P = 423,
     MOVE = 424,
     NAMES = 425,
     NATIONAL = 426,
     NATURAL = 427,
     NCHAR = 428,
     NEW = 429,
     NEXT = 430,
     NO = 431,
     NOCREATEDB = 432,
     NOCREATEUSER = 433,
     NONE = 434,
     NOT = 435,
     NOTHING = 436,
     NOTIFY = 437,
     NOTNULL = 438,
     NULL_P = 439,
     NULLIF = 440,
     NUMERIC = 441,
     OF = 442,
     OFF = 443,
     OFFSET = 444,
     OIDS = 445,
     OLD = 446,
     ON = 447,
     ONLY = 448,
     OPERATOR = 449,
     OPTION = 450,
     OR = 451,
     ORDER = 452,
     OUT_P = 453,
     OUTER_P = 454,
     OVERLAPS = 455,
     OVERLAY = 456,
     OWNER = 457,
     PARTIAL = 458,
     PASSWORD = 459,
     PATH_P = 460,
     PENDANT = 461,
     PLACING = 462,
     POSITION = 463,
     PRECISION = 464,
     PRESERVE = 465,
     PREPARE = 466,
     PRIMARY = 467,
     PRIOR = 468,
     PRIVILEGES = 469,
     PROCEDURAL = 470,
     PROCEDURE = 471,
     READ = 472,
     REAL = 473,
     RECHECK = 474,
     REFERENCES = 475,
     REINDEX = 476,
     RELATIVE_P = 477,
     RENAME = 478,
     REPEATABLE = 479,
     REPLACE = 480,
     RESET = 481,
     RESTART = 482,
     RESTRICT = 483,
     RETURNS = 484,
     REVOKE = 485,
     RIGHT = 486,
     ROLLBACK = 487,
     ROW = 488,
     ROWS = 489,
     RULE = 490,
     SCHEMA = 491,
     SCROLL = 492,
     SECOND_P = 493,
     SECURITY = 494,
     SELECT = 495,
     SEQUENCE = 496,
     SERIALIZABLE = 497,
     SESSION = 498,
     SESSION_USER = 499,
     SET = 500,
     SETOF = 501,
     SHARE = 502,
     SHOW = 503,
     SIMILAR = 504,
     SIMPLE = 505,
     SMALLINT = 506,
     SOME = 507,
     STABLE = 508,
     START = 509,
     STATEMENT = 510,
     STATISTICS = 511,
     STDIN = 512,
     STDOUT = 513,
     STORAGE = 514,
     STRICT_P = 515,
     SUBSTRING = 516,
     SYSID = 517,
     TABLE = 518,
     TEMP = 519,
     TEMPLATE = 520,
     TEMPORARY = 521,
     THEN = 522,
     TIME = 523,
     TIMESTAMP = 524,
     TO = 525,
     TOAST = 526,
     TRAILING = 527,
     TRANSACTION = 528,
     TREAT = 529,
     TRIGGER = 530,
     TRIM = 531,
     TRUE_P = 532,
     TRUNCATE = 533,
     TRUSTED = 534,
     TYPE_P = 535,
     UNCOMMITTED = 536,
     UNENCRYPTED = 537,
     UNION = 538,
     UNIQUE = 539,
     UNKNOWN = 540,
     UNLISTEN = 541,
     UNTIL = 542,
     UPDATE = 543,
     USAGE = 544,
     USER = 545,
     USING = 546,
     VACUUM = 547,
     VALID = 548,
     VALIDATOR = 549,
     VALUES = 550,
     VARCHAR = 551,
     VARYING = 552,
     VERBOSE = 553,
     VERSION = 554,
     VIEW = 555,
     VOLATILE = 556,
     WHEN = 557,
     WHERE = 558,
     WITH = 559,
     WITHOUT = 560,
     WORK = 561,
     WRITE = 562,
     YEAR_P = 563,
     ZONE = 564,
     UNIONJOIN = 565,
     IDENT = 566,
     FCONST = 567,
     SCONST = 568,
     BCONST = 569,
     XCONST = 570,
     Op = 571,
     ICONST = 572,
     PARAM = 573,
     POSTFIXOP = 574,
     UMINUS = 575,
     TYPECAST = 576
   };
#endif
#define ABORT_P 258
#define ABSOLUTE_P 259
#define ACCESS 260
#define ACTION 261
#define ADD 262
#define AFTER 263
#define AGGREGATE 264
#define ALL 265
#define ALTER 266
#define ANALYSE 267
#define ANALYZE 268
#define AND 269
#define ANY 270
#define ARRAY 271
#define AS 272
#define ASC 273
#define ASSERTION 274
#define ASSIGNMENT 275
#define AT 276
#define AUTHORIZATION 277
#define BACKWARD 278
#define BEFORE 279
#define BEGIN_P 280
#define BETWEEN 281
#define BIGINT 282
#define BINARY 283
#define BIT 284
#define BOOLEAN_P 285
#define BOTH 286
#define BY 287
#define CACHE 288
#define CALLED 289
#define CASCADE 290
#define CASE 291
#define CAST 292
#define CHAIN 293
#define CHAR_P 294
#define CHARACTER 295
#define CHARACTERISTICS 296
#define CHECK 297
#define CHECKPOINT 298
#define CLASS 299
#define CLOSE 300
#define CLUSTER 301
#define COALESCE 302
#define COLLATE 303
#define COLUMN 304
#define COMMENT 305
#define COMMIT 306
#define COMMITTED 307
#define CONSTRAINT 308
#define CONSTRAINTS 309
#define CONVERSION_P 310
#define CONVERT 311
#define COPY 312
#define CREATE 313
#define CREATEDB 314
#define CREATEUSER 315
#define CROSS 316
#define CURRENT_DATE 317
#define CURRENT_TIME 318
#define CURRENT_TIMESTAMP 319
#define CURRENT_USER 320
#define CURSOR 321
#define CYCLE 322
#define DATABASE 323
#define DAY_P 324
#define DEALLOCATE 325
#define DEC 326
#define DECIMAL_P 327
#define DECLARE 328
#define DEFAULT 329
#define DEFAULTS 330
#define DEFERRABLE 331
#define DEFERRED 332
#define DEFINER 333
#define DELETE_P 334
#define DELIMITER 335
#define DELIMITERS 336
#define DESC 337
#define DISTINCT 338
#define DO 339
#define DOMAIN_P 340
#define DOUBLE_P 341
#define DROP 342
#define EACH 343
#define ELSE 344
#define ENCODING 345
#define ENCRYPTED 346
#define END_P 347
#define ESCAPE 348
#define EXCEPT 349
#define EXCLUDING 350
#define EXCLUSIVE 351
#define EXECUTE 352
#define EXISTS 353
#define EXPLAIN 354
#define EXTERNAL 355
#define EXTRACT 356
#define FALSE_P 357
#define FETCH 358
#define FIRST_P 359
#define FLOAT_P 360
#define FOR 361
#define FORCE 362
#define FOREIGN 363
#define FORWARD 364
#define FREEZE 365
#define FROM 366
#define FULL 367
#define FUNCTION 368
#define GLOBAL 369
#define GRANT 370
#define GROUP_P 371
#define HANDLER 372
#define HAVING 373
#define HOLD 374
#define HOUR_P 375
#define ILIKE 376
#define IMMEDIATE 377
#define IMMUTABLE 378
#define IMPLICIT_P 379
#define IN_P 380
#define INCLUDING 381
#define INCREMENT 382
#define INDEX 383
#define INHERITS 384
#define INITIALLY 385
#define INNER_P 386
#define INOUT 387
#define INPUT_P 388
#define INSENSITIVE 389
#define INSERT 390
#define INSTEAD 391
#define INT_P 392
#define INTEGER 393
#define INTERSECT 394
#define INTERVAL 395
#define INTO 396
#define INVOKER 397
#define IS 398
#define ISNULL 399
#define ISOLATION 400
#define JOIN 401
#define KEY 402
#define LANCOMPILER 403
#define LANGUAGE 404
#define LAST_P 405
#define LEADING 406
#define LEFT 407
#define LEVEL 408
#define LIKE 409
#define LIMIT 410
#define LISTEN 411
#define LOAD 412
#define LOCAL 413
#define LOCALTIME 414
#define LOCALTIMESTAMP 415
#define LOCATION 416
#define LOCK_P 417
#define MATCH 418
#define MAXVALUE 419
#define MINUTE_P 420
#define MINVALUE 421
#define MODE 422
#define MONTH_P 423
#define MOVE 424
#define NAMES 425
#define NATIONAL 426
#define NATURAL 427
#define NCHAR 428
#define NEW 429
#define NEXT 430
#define NO 431
#define NOCREATEDB 432
#define NOCREATEUSER 433
#define NONE 434
#define NOT 435
#define NOTHING 436
#define NOTIFY 437
#define NOTNULL 438
#define NULL_P 439
#define NULLIF 440
#define NUMERIC 441
#define OF 442
#define OFF 443
#define OFFSET 444
#define OIDS 445
#define OLD 446
#define ON 447
#define ONLY 448
#define OPERATOR 449
#define OPTION 450
#define OR 451
#define ORDER 452
#define OUT_P 453
#define OUTER_P 454
#define OVERLAPS 455
#define OVERLAY 456
#define OWNER 457
#define PARTIAL 458
#define PASSWORD 459
#define PATH_P 460
#define PENDANT 461
#define PLACING 462
#define POSITION 463
#define PRECISION 464
#define PRESERVE 465
#define PREPARE 466
#define PRIMARY 467
#define PRIOR 468
#define PRIVILEGES 469
#define PROCEDURAL 470
#define PROCEDURE 471
#define READ 472
#define REAL 473
#define RECHECK 474
#define REFERENCES 475
#define REINDEX 476
#define RELATIVE_P 477
#define RENAME 478
#define REPEATABLE 479
#define REPLACE 480
#define RESET 481
#define RESTART 482
#define RESTRICT 483
#define RETURNS 484
#define REVOKE 485
#define RIGHT 486
#define ROLLBACK 487
#define ROW 488
#define ROWS 489
#define RULE 490
#define SCHEMA 491
#define SCROLL 492
#define SECOND_P 493
#define SECURITY 494
#define SELECT 495
#define SEQUENCE 496
#define SERIALIZABLE 497
#define SESSION 498
#define SESSION_USER 499
#define SET 500
#define SETOF 501
#define SHARE 502
#define SHOW 503
#define SIMILAR 504
#define SIMPLE 505
#define SMALLINT 506
#define SOME 507
#define STABLE 508
#define START 509
#define STATEMENT 510
#define STATISTICS 511
#define STDIN 512
#define STDOUT 513
#define STORAGE 514
#define STRICT_P 515
#define SUBSTRING 516
#define SYSID 517
#define TABLE 518
#define TEMP 519
#define TEMPLATE 520
#define TEMPORARY 521
#define THEN 522
#define TIME 523
#define TIMESTAMP 524
#define TO 525
#define TOAST 526
#define TRAILING 527
#define TRANSACTION 528
#define TREAT 529
#define TRIGGER 530
#define TRIM 531
#define TRUE_P 532
#define TRUNCATE 533
#define TRUSTED 534
#define TYPE_P 535
#define UNCOMMITTED 536
#define UNENCRYPTED 537
#define UNION 538
#define UNIQUE 539
#define UNKNOWN 540
#define UNLISTEN 541
#define UNTIL 542
#define UPDATE 543
#define USAGE 544
#define USER 545
#define USING 546
#define VACUUM 547
#define VALID 548
#define VALIDATOR 549
#define VALUES 550
#define VARCHAR 551
#define VARYING 552
#define VERBOSE 553
#define VERSION 554
#define VIEW 555
#define VOLATILE 556
#define WHEN 557
#define WHERE 558
#define WITH 559
#define WITHOUT 560
#define WORK 561
#define WRITE 562
#define YEAR_P 563
#define ZONE 564
#define UNIONJOIN 565
#define IDENT 566
#define FCONST 567
#define SCONST 568
#define BCONST 569
#define XCONST 570
#define Op 571
#define ICONST 572
#define PARAM 573
#define POSTFIXOP 574
#define UMINUS 575
#define TYPECAST 576




#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 101 "gram.y"
typedef union YYSTYPE {
	int					ival;
	char				chr;
	char				*str;
	const char			*keyword;
	bool				boolean;
	JoinType			jtype;
	DropBehavior		dbehavior;
	OnCommitAction		oncommit;
	List				*list;
	FastList			fastlist;
	Node				*node;
	Value				*value;
	ColumnRef			*columnref;
	ObjectType			objtype;

	TypeName			*typnam;
	DefElem				*defelt;
	SortBy				*sortby;
	JoinExpr			*jexpr;
	IndexElem			*ielem;
	Alias				*alias;
	RangeVar			*range;
	A_Indices			*aind;
	ResTarget			*target;
	PrivTarget			*privtarget;

	InsertStmt			*istmt;
	VariableSetStmt		*vsetstmt;
} YYSTYPE;
/* Line 1248 of yacc.c.  */
#line 709 "y.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif

extern YYSTYPE yylval;



