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