From e482dcb0a438dfa1fcb2cb792730c00db337a834 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 13 Oct 2001 23:32:34 +0000 Subject: Make selectivity routines cope gracefully with NaNs, infinities, and NUMERIC values that are out of the range of 'double'. Per trouble report from Mike Quinn. --- src/include/utils/builtins.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/utils/builtins.h') diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 12792f1528..36d85aa042 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.167 2001/10/13 16:34:08 tgl Exp $ + * $Id: builtins.h,v 1.168 2001/10/13 23:32:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -553,6 +553,7 @@ extern Datum int2_numeric(PG_FUNCTION_ARGS); extern Datum numeric_int2(PG_FUNCTION_ARGS); extern Datum float8_numeric(PG_FUNCTION_ARGS); extern Datum numeric_float8(PG_FUNCTION_ARGS); +extern Datum numeric_float8_no_overflow(PG_FUNCTION_ARGS); extern Datum float4_numeric(PG_FUNCTION_ARGS); extern Datum numeric_float4(PG_FUNCTION_ARGS); extern Datum numeric_accum(PG_FUNCTION_ARGS); -- cgit v1.2.1