mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Fix:
nodeAgg.c: WARN -> NOTICE for elog parse_oper.c: was created after patch for fmgr_info, so function call wrong scan.c: regenerated for i386_solaris using flex 2.5.4 gethostname.c: required prototype for gethostname() function config.h.in: create prototype for isinfo() function isinf.c: "fake" isinf() under i386_solaris using fpclass() call...
This commit is contained in:
parent
baef78d96b
commit
d876c25803
@ -437,7 +437,7 @@ ExecAgg(Agg *node)
|
||||
args[0] = (char *) value2[i];
|
||||
}
|
||||
else
|
||||
elog(WARN, "ExecAgg: no valid transition functions??");
|
||||
elog(NOTICE, "ExecAgg: no valid transition functions??");
|
||||
value1[i] = (Datum) fmgr_c(&aggfns->finalfn,
|
||||
(FmgrValues *) args, &(nulls[i]));
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.5 1998/01/05 03:32:29 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.6 1998/01/15 20:54:28 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -401,11 +401,9 @@ unary_oper_get_candidates(char *op,
|
||||
|
||||
*candidates = NULL;
|
||||
|
||||
fmgr_info(NameEqualRegProcedure, (func_ptr *) &opKey[0].sk_func,
|
||||
&opKey[0].sk_nargs);
|
||||
fmgr_info(NameEqualRegProcedure, (func_ptr *) &opKey[0].sk_func);
|
||||
opKey[0].sk_argument = NameGetDatum(op);
|
||||
fmgr_info(CharacterEqualRegProcedure, (func_ptr *) &opKey[1].sk_func,
|
||||
&opKey[1].sk_nargs);
|
||||
fmgr_info(CharacterEqualRegProcedure, (func_ptr *) &opKey[1].sk_func);
|
||||
opKey[1].sk_argument = CharGetDatum(rightleft);
|
||||
|
||||
/* currently, only "unknown" can be coerced */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* A lexical scanner generated by flex */
|
||||
|
||||
/* Scanner skeleton version:
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.7 1998/01/13 19:28:29 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.8 1998/01/15 20:54:30 scrappy Exp $
|
||||
*/
|
||||
|
||||
#define FLEX_SCANNER
|
||||
@ -539,7 +539,7 @@ char *yytext;
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.7 1998/01/13 19:28:29 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.8 1998/01/15 20:54:30 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -1,10 +1,12 @@
|
||||
/* $Id: gethostname.c,v 1.2 1997/12/19 13:34:26 scrappy Exp $ */
|
||||
/* $Id: gethostname.c,v 1.3 1998/01/15 20:54:34 scrappy Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
int
|
||||
gethostname(char *name, int namelen)
|
||||
{
|
||||
|
15
src/backend/port/isinf.c
Normal file
15
src/backend/port/isinf.c
Normal file
@ -0,0 +1,15 @@
|
||||
/* $Id: isinf.c,v 1.1 1998/01/15 20:54:37 scrappy Exp $ */
|
||||
|
||||
#include <ieeefp.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
||||
int
|
||||
isinf(double x)
|
||||
{
|
||||
if((fpclass(x) == FP_PINF) || (fpclass(x) == FP_NINF)) return 1;
|
||||
else return 0;
|
||||
}
|
||||
|
@ -52,6 +52,9 @@
|
||||
|
||||
/* Set to 1 if you have isinf() */
|
||||
#undef HAVE_ISINF
|
||||
#ifndef HAVE_ISINF
|
||||
int isinf(double x);
|
||||
#endif
|
||||
|
||||
/* Set to 1 if you have tzset() */
|
||||
#undef HAVE_TZSET
|
||||
@ -59,7 +62,7 @@
|
||||
/* Set to 1 if you have gethostname() */
|
||||
#undef HAVE_GETHOSTNAME
|
||||
#ifndef HAVE_GETHOSTNAME
|
||||
extern int gethostname(char *name, int namelen);
|
||||
int gethostname(char *name, int namelen);
|
||||
#endif
|
||||
|
||||
/* Set to 1 if you have int timezone */
|
||||
|
Loading…
x
Reference in New Issue
Block a user