Someone remove a #define too much from pg_proc.h which breaks
compiling nbtsearch.c after configuring with --enable-cassert. Patch below. -- --------------------------------------------- Göran Thyni, sysadm, JMS Bildbasen, Kiruna
This commit is contained in:
parent
c312583767
commit
1b70585d4b
@ -218,7 +218,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.10 1998/05/09 23:27:14 thomas Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.11 1998/05/12 17:46:46 momjian Exp $
|
||||||
*
|
*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* AUTHOR DATE MAJOR EVENT
|
* AUTHOR DATE MAJOR EVENT
|
||||||
@ -3978,7 +3978,7 @@ static const short yycheck[] = { 3,
|
|||||||
-1, -1, 192
|
-1, -1, 192
|
||||||
};
|
};
|
||||||
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
|
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
|
||||||
#line 3 "/usr/lib/bison.simple"
|
#line 3 "/usr/local/bison/bison.simple"
|
||||||
|
|
||||||
/* Skeleton output parser for bison,
|
/* Skeleton output parser for bison,
|
||||||
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
|
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
|
||||||
@ -4171,7 +4171,7 @@ __yy_memcpy (char *to, char *from, int count)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#line 196 "/usr/lib/bison.simple"
|
#line 196 "/usr/local/bison/bison.simple"
|
||||||
|
|
||||||
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
|
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
|
||||||
into yyparse. The argument should have type void *.
|
into yyparse. The argument should have type void *.
|
||||||
@ -9517,7 +9517,7 @@ case 846:
|
|||||||
break;}
|
break;}
|
||||||
}
|
}
|
||||||
/* the action file gets copied in in place of this dollarsign */
|
/* the action file gets copied in in place of this dollarsign */
|
||||||
#line 498 "/usr/lib/bison.simple"
|
#line 498 "/usr/local/bison/bison.simple"
|
||||||
|
|
||||||
yyvsp -= yylen;
|
yyvsp -= yylen;
|
||||||
yyssp -= yylen;
|
yyssp -= yylen;
|
||||||
|
@ -128,103 +128,105 @@ typedef union
|
|||||||
#define TABLE 355
|
#define TABLE 355
|
||||||
#define TIME 356
|
#define TIME 356
|
||||||
#define TIMESTAMP 357
|
#define TIMESTAMP 357
|
||||||
#define TO 358
|
#define TIMEZONE_HOUR 358
|
||||||
#define TRAILING 359
|
#define TIMEZONE_MINUTE 359
|
||||||
#define TRANSACTION 360
|
#define TO 360
|
||||||
#define TRIM 361
|
#define TRAILING 361
|
||||||
#define UNION 362
|
#define TRANSACTION 362
|
||||||
#define UNIQUE 363
|
#define TRIM 363
|
||||||
#define UPDATE 364
|
#define UNION 364
|
||||||
#define USING 365
|
#define UNIQUE 365
|
||||||
#define VALUES 366
|
#define UPDATE 366
|
||||||
#define VARCHAR 367
|
#define USER 367
|
||||||
#define VARYING 368
|
#define USING 368
|
||||||
#define VIEW 369
|
#define VALUES 369
|
||||||
#define WHERE 370
|
#define VARCHAR 370
|
||||||
#define WITH 371
|
#define VARYING 371
|
||||||
#define WORK 372
|
#define VIEW 372
|
||||||
#define YEAR_P 373
|
#define WHERE 373
|
||||||
#define ZONE 374
|
#define WITH 374
|
||||||
#define FALSE_P 375
|
#define WORK 375
|
||||||
#define TRIGGER 376
|
#define YEAR_P 376
|
||||||
#define TRUE_P 377
|
#define ZONE 377
|
||||||
#define TYPE_P 378
|
#define FALSE_P 378
|
||||||
#define ABORT_TRANS 379
|
#define TRIGGER 379
|
||||||
#define AFTER 380
|
#define TRUE_P 380
|
||||||
#define AGGREGATE 381
|
#define TYPE_P 381
|
||||||
#define ANALYZE 382
|
#define ABORT_TRANS 382
|
||||||
#define BACKWARD 383
|
#define AFTER 383
|
||||||
#define BEFORE 384
|
#define AGGREGATE 384
|
||||||
#define BINARY 385
|
#define ANALYZE 385
|
||||||
#define CACHE 386
|
#define BACKWARD 386
|
||||||
#define CLUSTER 387
|
#define BEFORE 387
|
||||||
#define COPY 388
|
#define BINARY 388
|
||||||
#define CYCLE 389
|
#define CACHE 389
|
||||||
#define DATABASE 390
|
#define CLUSTER 390
|
||||||
#define DELIMITERS 391
|
#define COPY 391
|
||||||
#define DO 392
|
#define CYCLE 392
|
||||||
#define EACH 393
|
#define DATABASE 393
|
||||||
#define EXPLAIN 394
|
#define DELIMITERS 394
|
||||||
#define EXTEND 395
|
#define DO 395
|
||||||
#define FORWARD 396
|
#define EACH 396
|
||||||
#define FUNCTION 397
|
#define EXPLAIN 397
|
||||||
#define HANDLER 398
|
#define EXTEND 398
|
||||||
#define INCREMENT 399
|
#define FORWARD 399
|
||||||
#define INDEX 400
|
#define FUNCTION 400
|
||||||
#define INHERITS 401
|
#define HANDLER 401
|
||||||
#define INSTEAD 402
|
#define INCREMENT 402
|
||||||
#define ISNULL 403
|
#define INDEX 403
|
||||||
#define LANCOMPILER 404
|
#define INHERITS 404
|
||||||
#define LISTEN 405
|
#define INSTEAD 405
|
||||||
#define LOAD 406
|
#define ISNULL 406
|
||||||
#define LOCK_P 407
|
#define LANCOMPILER 407
|
||||||
#define LOCATION 408
|
#define LISTEN 408
|
||||||
#define MAXVALUE 409
|
#define LOAD 409
|
||||||
#define MINVALUE 410
|
#define LOCK_P 410
|
||||||
#define MOVE 411
|
#define LOCATION 411
|
||||||
#define NEW 412
|
#define MAXVALUE 412
|
||||||
#define NONE 413
|
#define MINVALUE 413
|
||||||
#define NOTHING 414
|
#define MOVE 414
|
||||||
#define NOTNULL 415
|
#define NEW 415
|
||||||
#define OIDS 416
|
#define NONE 416
|
||||||
#define OPERATOR 417
|
#define NOTHING 417
|
||||||
#define PROCEDURAL 418
|
#define NOTNULL 418
|
||||||
#define RECIPE 419
|
#define OIDS 419
|
||||||
#define RENAME 420
|
#define OPERATOR 420
|
||||||
#define RESET 421
|
#define PROCEDURAL 421
|
||||||
#define RETURNS 422
|
#define RECIPE 422
|
||||||
#define ROW 423
|
#define RENAME 423
|
||||||
#define RULE 424
|
#define RESET 424
|
||||||
#define SEQUENCE 425
|
#define RETURNS 425
|
||||||
#define SETOF 426
|
#define ROW 426
|
||||||
#define SHOW 427
|
#define RULE 427
|
||||||
#define START 428
|
#define SEQUENCE 428
|
||||||
#define STATEMENT 429
|
#define SETOF 429
|
||||||
#define STDIN 430
|
#define SHOW 430
|
||||||
#define STDOUT 431
|
#define START 431
|
||||||
#define TRUSTED 432
|
#define STATEMENT 432
|
||||||
#define VACUUM 433
|
#define STDIN 433
|
||||||
#define VERBOSE 434
|
#define STDOUT 434
|
||||||
#define VERSION 435
|
#define TRUSTED 435
|
||||||
#define ARCHIVE 436
|
#define VACUUM 436
|
||||||
#define USER 437
|
#define VERBOSE 437
|
||||||
#define PASSWORD 438
|
#define VERSION 438
|
||||||
#define CREATEDB 439
|
#define ARCHIVE 439
|
||||||
#define NOCREATEDB 440
|
#define PASSWORD 440
|
||||||
#define CREATEUSER 441
|
#define CREATEDB 441
|
||||||
#define NOCREATEUSER 442
|
#define NOCREATEDB 442
|
||||||
#define VALID 443
|
#define CREATEUSER 443
|
||||||
#define UNTIL 444
|
#define NOCREATEUSER 444
|
||||||
#define IDENT 445
|
#define VALID 445
|
||||||
#define SCONST 446
|
#define UNTIL 446
|
||||||
#define Op 447
|
#define IDENT 447
|
||||||
#define ICONST 448
|
#define SCONST 448
|
||||||
#define PARAM 449
|
#define Op 449
|
||||||
#define FCONST 450
|
#define ICONST 450
|
||||||
#define OP 451
|
#define PARAM 451
|
||||||
#define UMINUS 452
|
#define FCONST 452
|
||||||
#define TYPECAST 453
|
#define OP 453
|
||||||
#define REDUCE 454
|
#define UMINUS 454
|
||||||
|
#define TYPECAST 455
|
||||||
|
#define REDUCE 456
|
||||||
|
|
||||||
|
|
||||||
extern YYSTYPE yylval;
|
extern YYSTYPE yylval;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: pg_proc.h,v 1.56 1998/05/09 22:48:36 thomas Exp $
|
* $Id: pg_proc.h,v 1.57 1998/05/12 17:46:48 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* The script catalog/genbki.sh reads this file and generates .bki
|
* The script catalog/genbki.sh reads this file and generates .bki
|
||||||
@ -1225,6 +1225,7 @@ DESCR("equals");
|
|||||||
|
|
||||||
DATA(insert OID = 1029 ( nullvalue PGUID 11 f t f 1 f 16 "0" 100 0 0 100 foo bar ));
|
DATA(insert OID = 1029 ( nullvalue PGUID 11 f t f 1 f 16 "0" 100 0 0 100 foo bar ));
|
||||||
DESCR("(internal)");
|
DESCR("(internal)");
|
||||||
|
#define NullValueRegProcedure 1029
|
||||||
DATA(insert OID = 1030 ( nonnullvalue PGUID 11 f t f 1 f 16 "0" 100 0 0 100 foo bar ));
|
DATA(insert OID = 1030 ( nonnullvalue PGUID 11 f t f 1 f 16 "0" 100 0 0 100 foo bar ));
|
||||||
DESCR("(internal)");
|
DESCR("(internal)");
|
||||||
DATA(insert OID = 1031 ( aclitemin PGUID 11 f t f 1 f 1033 "0" 100 0 0 100 foo bar ));
|
DATA(insert OID = 1031 ( aclitemin PGUID 11 f t f 1 f 1033 "0" 100 0 0 100 foo bar ));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user