Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd876c25

Browse files
committed
Fix:
nodeAgg.c: WARN -> NOTICE for elogparse_oper.c: was created after patch for fmgr_info, so function call wrongscan.c: regenerated for i386_solaris using flex 2.5.4gethostname.c: required prototype for gethostname() functionconfig.h.in: create prototype for isinfo() functionisinf.c: "fake" isinf() under i386_solaris using fpclass() call...
1 parentbaef78d commitd876c25

File tree

6 files changed

+28
-10
lines changed

6 files changed

+28
-10
lines changed

‎src/backend/executor/nodeAgg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ ExecAgg(Agg *node)
437437
args[0]= (char*)value2[i];
438438
}
439439
else
440-
elog(WARN,"ExecAgg: no valid transition functions??");
440+
elog(NOTICE,"ExecAgg: no valid transition functions??");
441441
value1[i]= (Datum)fmgr_c(&aggfns->finalfn,
442442
(FmgrValues*)args,&(nulls[i]));
443443
}

‎src/backend/parser/parse_oper.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.5 1998/01/05 03:32:29 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.6 1998/01/15 20:54:28 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -401,11 +401,9 @@ unary_oper_get_candidates(char *op,
401401

402402
*candidates=NULL;
403403

404-
fmgr_info(NameEqualRegProcedure, (func_ptr*)&opKey[0].sk_func,
405-
&opKey[0].sk_nargs);
404+
fmgr_info(NameEqualRegProcedure, (func_ptr*)&opKey[0].sk_func);
406405
opKey[0].sk_argument=NameGetDatum(op);
407-
fmgr_info(CharacterEqualRegProcedure, (func_ptr*)&opKey[1].sk_func,
408-
&opKey[1].sk_nargs);
406+
fmgr_info(CharacterEqualRegProcedure, (func_ptr*)&opKey[1].sk_func);
409407
opKey[1].sk_argument=CharGetDatum(rightleft);
410408

411409
/* currently, only "unknown" can be coerced */

‎src/backend/parser/scan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* A lexical scanner generated by flex */
22

33
/* Scanner skeleton version:
4-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.7 1998/01/13 19:28:29 scrappy Exp $
4+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.8 1998/01/15 20:54:30 scrappy Exp $
55
*/
66

77
#defineFLEX_SCANNER
@@ -539,7 +539,7 @@ char *yytext;
539539
*
540540
*
541541
* IDENTIFICATION
542-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.7 1998/01/13 19:28:29 scrappy Exp $
542+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.8 1998/01/15 20:54:30 scrappy Exp $
543543
*
544544
*-------------------------------------------------------------------------
545545
*/

‎src/backend/port/gethostname.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
/* $Id: gethostname.c,v 1.2 1997/12/19 13:34:26 scrappy Exp $ */
1+
/* $Id: gethostname.c,v 1.3 1998/01/15 20:54:34 scrappy Exp $ */
22

33
#include<sys/types.h>
44
#include<string.h>
55

66
#include<sys/utsname.h>
77

8+
#include"config.h"
9+
810
int
911
gethostname(char*name,intnamelen)
1012
{

‎src/backend/port/isinf.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* $Id: isinf.c,v 1.1 1998/01/15 20:54:37 scrappy Exp $ */
2+
3+
#include<ieeefp.h>
4+
#include<math.h>
5+
6+
#include"config.h"
7+
8+
9+
int
10+
isinf(doublex)
11+
{
12+
if((fpclass(x)==FP_PINF)|| (fpclass(x)==FP_NINF))return1;
13+
elsereturn0;
14+
}
15+

‎src/include/config.h.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,17 @@
5252

5353
/* Set to 1 if you have isinf() */
5454
#undef HAVE_ISINF
55+
#ifndefHAVE_ISINF
56+
intisinf(doublex);
57+
#endif
5558

5659
/* Set to 1 if you have tzset() */
5760
#undef HAVE_TZSET
5861

5962
/* Set to 1 if you have gethostname() */
6063
#undef HAVE_GETHOSTNAME
6164
#ifndefHAVE_GETHOSTNAME
62-
externintgethostname(char*name,intnamelen);
65+
intgethostname(char*name,intnamelen);
6366
#endif
6467

6568
/* Set to 1 if you have int timezone */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp