Fix cfor typos.
This commit is contained in:
parent
fd7b963316
commit
d3423daaee
src/backend
@ -1,5 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.44 1999/01/18 06:32:25 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.45 1999/01/18 06:46:32 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -2797,7 +2797,7 @@ SelectStmt: select_w_o_sort sort_clause for_update_clause
|
||||
first_select->forUpdate = $3;
|
||||
$$ = (Node *)first_select;
|
||||
}
|
||||
if ((SelectStmt *)$$)->forUpdate != NULL)
|
||||
if (((SelectStmt *)$$)->forUpdate != NULL)
|
||||
{
|
||||
SelectStmt *n = (SelectStmt *)$1;
|
||||
|
||||
|
@ -73,180 +73,182 @@ typedef union
|
||||
#define DROP 299
|
||||
#define ELSE 300
|
||||
#define END_TRANS 301
|
||||
#define EXECUTE 302
|
||||
#define EXISTS 303
|
||||
#define EXTRACT 304
|
||||
#define FALSE_P 305
|
||||
#define FETCH 306
|
||||
#define FLOAT 307
|
||||
#define FOR 308
|
||||
#define FOREIGN 309
|
||||
#define FROM 310
|
||||
#define FULL 311
|
||||
#define GRANT 312
|
||||
#define GROUP 313
|
||||
#define HAVING 314
|
||||
#define HOUR_P 315
|
||||
#define IN 316
|
||||
#define INNER_P 317
|
||||
#define INSENSITIVE 318
|
||||
#define INSERT 319
|
||||
#define INTERVAL 320
|
||||
#define INTO 321
|
||||
#define IS 322
|
||||
#define ISOLATION 323
|
||||
#define JOIN 324
|
||||
#define KEY 325
|
||||
#define LANGUAGE 326
|
||||
#define LEADING 327
|
||||
#define LEFT 328
|
||||
#define LEVEL 329
|
||||
#define LIKE 330
|
||||
#define LOCAL 331
|
||||
#define MATCH 332
|
||||
#define MINUTE_P 333
|
||||
#define MONTH_P 334
|
||||
#define NAMES 335
|
||||
#define NATIONAL 336
|
||||
#define NATURAL 337
|
||||
#define NCHAR 338
|
||||
#define NEXT 339
|
||||
#define NO 340
|
||||
#define NOT 341
|
||||
#define NULLIF 342
|
||||
#define NULL_P 343
|
||||
#define NUMERIC 344
|
||||
#define OF 345
|
||||
#define ON 346
|
||||
#define ONLY 347
|
||||
#define OPTION 348
|
||||
#define OR 349
|
||||
#define ORDER 350
|
||||
#define OUTER_P 351
|
||||
#define PARTIAL 352
|
||||
#define POSITION 353
|
||||
#define PRECISION 354
|
||||
#define PRIMARY 355
|
||||
#define PRIOR 356
|
||||
#define PRIVILEGES 357
|
||||
#define PROCEDURE 358
|
||||
#define PUBLIC 359
|
||||
#define READ 360
|
||||
#define REFERENCES 361
|
||||
#define RELATIVE 362
|
||||
#define REVOKE 363
|
||||
#define RIGHT 364
|
||||
#define ROLLBACK 365
|
||||
#define SCROLL 366
|
||||
#define SECOND_P 367
|
||||
#define SELECT 368
|
||||
#define SET 369
|
||||
#define SUBSTRING 370
|
||||
#define TABLE 371
|
||||
#define THEN 372
|
||||
#define TIME 373
|
||||
#define TIMESTAMP 374
|
||||
#define TIMEZONE_HOUR 375
|
||||
#define TIMEZONE_MINUTE 376
|
||||
#define TO 377
|
||||
#define TRAILING 378
|
||||
#define TRANSACTION 379
|
||||
#define TRIM 380
|
||||
#define TRUE_P 381
|
||||
#define UNION 382
|
||||
#define UNIQUE 383
|
||||
#define UPDATE 384
|
||||
#define USER 385
|
||||
#define USING 386
|
||||
#define VALUES 387
|
||||
#define VARCHAR 388
|
||||
#define VARYING 389
|
||||
#define VIEW 390
|
||||
#define WHEN 391
|
||||
#define WHERE 392
|
||||
#define WITH 393
|
||||
#define WORK 394
|
||||
#define YEAR_P 395
|
||||
#define ZONE 396
|
||||
#define TRIGGER 397
|
||||
#define TYPE_P 398
|
||||
#define ABORT_TRANS 399
|
||||
#define AFTER 400
|
||||
#define AGGREGATE 401
|
||||
#define ANALYZE 402
|
||||
#define BACKWARD 403
|
||||
#define BEFORE 404
|
||||
#define BINARY 405
|
||||
#define CACHE 406
|
||||
#define CLUSTER 407
|
||||
#define COPY 408
|
||||
#define CREATEDB 409
|
||||
#define CREATEUSER 410
|
||||
#define CYCLE 411
|
||||
#define DATABASE 412
|
||||
#define DELIMITERS 413
|
||||
#define DO 414
|
||||
#define EACH 415
|
||||
#define ENCODING 416
|
||||
#define EXPLAIN 417
|
||||
#define EXTEND 418
|
||||
#define FORWARD 419
|
||||
#define FUNCTION 420
|
||||
#define HANDLER 421
|
||||
#define INCREMENT 422
|
||||
#define INDEX 423
|
||||
#define INHERITS 424
|
||||
#define INSTEAD 425
|
||||
#define ISNULL 426
|
||||
#define LANCOMPILER 427
|
||||
#define LISTEN 428
|
||||
#define LOAD 429
|
||||
#define LOCATION 430
|
||||
#define LOCK_P 431
|
||||
#define MAXVALUE 432
|
||||
#define MINVALUE 433
|
||||
#define MOVE 434
|
||||
#define NEW 435
|
||||
#define NOCREATEDB 436
|
||||
#define NOCREATEUSER 437
|
||||
#define NONE 438
|
||||
#define NOTHING 439
|
||||
#define NOTIFY 440
|
||||
#define NOTNULL 441
|
||||
#define OIDS 442
|
||||
#define OPERATOR 443
|
||||
#define PASSWORD 444
|
||||
#define PROCEDURAL 445
|
||||
#define RECIPE 446
|
||||
#define RENAME 447
|
||||
#define RESET 448
|
||||
#define RETURNS 449
|
||||
#define ROW 450
|
||||
#define RULE 451
|
||||
#define SEQUENCE 452
|
||||
#define SERIAL 453
|
||||
#define SETOF 454
|
||||
#define SHOW 455
|
||||
#define START 456
|
||||
#define STATEMENT 457
|
||||
#define STDIN 458
|
||||
#define STDOUT 459
|
||||
#define TRUSTED 460
|
||||
#define UNLISTEN 461
|
||||
#define UNTIL 462
|
||||
#define VACUUM 463
|
||||
#define VALID 464
|
||||
#define VERBOSE 465
|
||||
#define VERSION 466
|
||||
#define IDENT 467
|
||||
#define SCONST 468
|
||||
#define Op 469
|
||||
#define ICONST 470
|
||||
#define PARAM 471
|
||||
#define FCONST 472
|
||||
#define OP 473
|
||||
#define UMINUS 474
|
||||
#define TYPECAST 475
|
||||
#define EXCEPT 302
|
||||
#define EXECUTE 303
|
||||
#define EXISTS 304
|
||||
#define EXTRACT 305
|
||||
#define FALSE_P 306
|
||||
#define FETCH 307
|
||||
#define FLOAT 308
|
||||
#define FOR 309
|
||||
#define FOREIGN 310
|
||||
#define FROM 311
|
||||
#define FULL 312
|
||||
#define GRANT 313
|
||||
#define GROUP 314
|
||||
#define HAVING 315
|
||||
#define HOUR_P 316
|
||||
#define IN 317
|
||||
#define INNER_P 318
|
||||
#define INSENSITIVE 319
|
||||
#define INSERT 320
|
||||
#define INTERSECT 321
|
||||
#define INTERVAL 322
|
||||
#define INTO 323
|
||||
#define IS 324
|
||||
#define ISOLATION 325
|
||||
#define JOIN 326
|
||||
#define KEY 327
|
||||
#define LANGUAGE 328
|
||||
#define LEADING 329
|
||||
#define LEFT 330
|
||||
#define LEVEL 331
|
||||
#define LIKE 332
|
||||
#define LOCAL 333
|
||||
#define MATCH 334
|
||||
#define MINUTE_P 335
|
||||
#define MONTH_P 336
|
||||
#define NAMES 337
|
||||
#define NATIONAL 338
|
||||
#define NATURAL 339
|
||||
#define NCHAR 340
|
||||
#define NEXT 341
|
||||
#define NO 342
|
||||
#define NOT 343
|
||||
#define NULLIF 344
|
||||
#define NULL_P 345
|
||||
#define NUMERIC 346
|
||||
#define OF 347
|
||||
#define ON 348
|
||||
#define ONLY 349
|
||||
#define OPTION 350
|
||||
#define OR 351
|
||||
#define ORDER 352
|
||||
#define OUTER_P 353
|
||||
#define PARTIAL 354
|
||||
#define POSITION 355
|
||||
#define PRECISION 356
|
||||
#define PRIMARY 357
|
||||
#define PRIOR 358
|
||||
#define PRIVILEGES 359
|
||||
#define PROCEDURE 360
|
||||
#define PUBLIC 361
|
||||
#define READ 362
|
||||
#define REFERENCES 363
|
||||
#define RELATIVE 364
|
||||
#define REVOKE 365
|
||||
#define RIGHT 366
|
||||
#define ROLLBACK 367
|
||||
#define SCROLL 368
|
||||
#define SECOND_P 369
|
||||
#define SELECT 370
|
||||
#define SET 371
|
||||
#define SUBSTRING 372
|
||||
#define TABLE 373
|
||||
#define THEN 374
|
||||
#define TIME 375
|
||||
#define TIMESTAMP 376
|
||||
#define TIMEZONE_HOUR 377
|
||||
#define TIMEZONE_MINUTE 378
|
||||
#define TO 379
|
||||
#define TRAILING 380
|
||||
#define TRANSACTION 381
|
||||
#define TRIM 382
|
||||
#define TRUE_P 383
|
||||
#define UNION 384
|
||||
#define UNIQUE 385
|
||||
#define UPDATE 386
|
||||
#define USER 387
|
||||
#define USING 388
|
||||
#define VALUES 389
|
||||
#define VARCHAR 390
|
||||
#define VARYING 391
|
||||
#define VIEW 392
|
||||
#define WHEN 393
|
||||
#define WHERE 394
|
||||
#define WITH 395
|
||||
#define WORK 396
|
||||
#define YEAR_P 397
|
||||
#define ZONE 398
|
||||
#define TRIGGER 399
|
||||
#define TYPE_P 400
|
||||
#define ABORT_TRANS 401
|
||||
#define AFTER 402
|
||||
#define AGGREGATE 403
|
||||
#define ANALYZE 404
|
||||
#define BACKWARD 405
|
||||
#define BEFORE 406
|
||||
#define BINARY 407
|
||||
#define CACHE 408
|
||||
#define CLUSTER 409
|
||||
#define COPY 410
|
||||
#define CREATEDB 411
|
||||
#define CREATEUSER 412
|
||||
#define CYCLE 413
|
||||
#define DATABASE 414
|
||||
#define DELIMITERS 415
|
||||
#define DO 416
|
||||
#define EACH 417
|
||||
#define ENCODING 418
|
||||
#define EXPLAIN 419
|
||||
#define EXTEND 420
|
||||
#define FORWARD 421
|
||||
#define FUNCTION 422
|
||||
#define HANDLER 423
|
||||
#define INCREMENT 424
|
||||
#define INDEX 425
|
||||
#define INHERITS 426
|
||||
#define INSTEAD 427
|
||||
#define ISNULL 428
|
||||
#define LANCOMPILER 429
|
||||
#define LISTEN 430
|
||||
#define LOAD 431
|
||||
#define LOCATION 432
|
||||
#define LOCK_P 433
|
||||
#define MAXVALUE 434
|
||||
#define MINVALUE 435
|
||||
#define MOVE 436
|
||||
#define NEW 437
|
||||
#define NOCREATEDB 438
|
||||
#define NOCREATEUSER 439
|
||||
#define NONE 440
|
||||
#define NOTHING 441
|
||||
#define NOTIFY 442
|
||||
#define NOTNULL 443
|
||||
#define OIDS 444
|
||||
#define OPERATOR 445
|
||||
#define PASSWORD 446
|
||||
#define PROCEDURAL 447
|
||||
#define RECIPE 448
|
||||
#define RENAME 449
|
||||
#define RESET 450
|
||||
#define RETURNS 451
|
||||
#define ROW 452
|
||||
#define RULE 453
|
||||
#define SEQUENCE 454
|
||||
#define SERIAL 455
|
||||
#define SETOF 456
|
||||
#define SHOW 457
|
||||
#define START 458
|
||||
#define STATEMENT 459
|
||||
#define STDIN 460
|
||||
#define STDOUT 461
|
||||
#define TRUSTED 462
|
||||
#define UNLISTEN 463
|
||||
#define UNTIL 464
|
||||
#define VACUUM 465
|
||||
#define VALID 466
|
||||
#define VERBOSE 467
|
||||
#define VERSION 468
|
||||
#define IDENT 469
|
||||
#define SCONST 470
|
||||
#define Op 471
|
||||
#define ICONST 472
|
||||
#define PARAM 473
|
||||
#define FCONST 474
|
||||
#define OP 475
|
||||
#define UMINUS 476
|
||||
#define TYPECAST 477
|
||||
|
||||
|
||||
extern YYSTYPE yylval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user