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]));
}
*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
*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 */
/* 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
*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
-/* $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)
{
--- /dev/null
+/* $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;
+}
+
/* 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
/* 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 */