1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Allow parsing expressions with ") -" (scan.l, scan.c only).

Make "TABLE" optional in "LOCK TABLE" command
 and "... INTO TABLE..." clause.
Explicitly parse CREATE SEQUENCE options to allow a negative integer
 as an argument; this is an artifact of unary minus handling in scan.l.
Add "PASSWORD" as an allowed column identifier.
These fixes will require a "make clean install" but not a dump/reload.
This commit is contained in:
Thomas G. Lockhart
1998-03-18 16:50:25 +00:00
parent c530fbfb2f
commit 561aead3f1
6 changed files with 5428 additions and 5241 deletions

View File

@ -156,69 +156,75 @@ typedef union
#define BACKWARD 383
#define BEFORE 384
#define BINARY 385
#define CLUSTER 386
#define COPY 387
#define DATABASE 388
#define DELIMITERS 389
#define DO 390
#define EACH 391
#define EXPLAIN 392
#define EXTEND 393
#define FORWARD 394
#define FUNCTION 395
#define HANDLER 396
#define INDEX 397
#define INHERITS 398
#define INSTEAD 399
#define ISNULL 400
#define LANCOMPILER 401
#define LISTEN 402
#define LOAD 403
#define LOCK_P 404
#define LOCATION 405
#define MOVE 406
#define NEW 407
#define NONE 408
#define NOTHING 409
#define NOTNULL 410
#define OIDS 411
#define OPERATOR 412
#define PROCEDURAL 413
#define RECIPE 414
#define RENAME 415
#define RESET 416
#define RETURNS 417
#define ROW 418
#define RULE 419
#define SEQUENCE 420
#define SETOF 421
#define SHOW 422
#define STATEMENT 423
#define STDIN 424
#define STDOUT 425
#define TRUSTED 426
#define VACUUM 427
#define VERBOSE 428
#define VERSION 429
#define ARCHIVE 430
#define USER 431
#define PASSWORD 432
#define CREATEDB 433
#define NOCREATEDB 434
#define CREATEUSER 435
#define NOCREATEUSER 436
#define VALID 437
#define UNTIL 438
#define IDENT 439
#define SCONST 440
#define Op 441
#define ICONST 442
#define PARAM 443
#define FCONST 444
#define OP 445
#define UMINUS 446
#define TYPECAST 447
#define REDUCE 448
#define CACHE 386
#define CLUSTER 387
#define COPY 388
#define CYCLE 389
#define DATABASE 390
#define DELIMITERS 391
#define DO 392
#define EACH 393
#define EXPLAIN 394
#define EXTEND 395
#define FORWARD 396
#define FUNCTION 397
#define HANDLER 398
#define INCREMENT 399
#define INDEX 400
#define INHERITS 401
#define INSTEAD 402
#define ISNULL 403
#define LANCOMPILER 404
#define LISTEN 405
#define LOAD 406
#define LOCK_P 407
#define LOCATION 408
#define MAXVALUE 409
#define MINVALUE 410
#define MOVE 411
#define NEW 412
#define NONE 413
#define NOTHING 414
#define NOTNULL 415
#define OIDS 416
#define OPERATOR 417
#define PROCEDURAL 418
#define RECIPE 419
#define RENAME 420
#define RESET 421
#define RETURNS 422
#define ROW 423
#define RULE 424
#define SEQUENCE 425
#define SETOF 426
#define SHOW 427
#define START 428
#define STATEMENT 429
#define STDIN 430
#define STDOUT 431
#define TRUSTED 432
#define VACUUM 433
#define VERBOSE 434
#define VERSION 435
#define ARCHIVE 436
#define USER 437
#define PASSWORD 438
#define CREATEDB 439
#define NOCREATEDB 440
#define CREATEUSER 441
#define NOCREATEUSER 442
#define VALID 443
#define UNTIL 444
#define IDENT 445
#define SCONST 446
#define Op 447
#define ICONST 448
#define PARAM 449
#define FCONST 450
#define OP 451
#define UMINUS 452
#define TYPECAST 453
#define REDUCE 454
extern YYSTYPE yylval;