1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Prevent under/over flow of float8 constants in parser. Small regression fix.

This commit is contained in:
Bruce Momjian
1997-02-19 20:11:05 +00:00
parent 5b5bbdb161
commit 6eb0525185
3 changed files with 14 additions and 6 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.11 1997/02/14 04:17:52 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.12 1997/02/19 20:10:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -127,7 +127,7 @@ static void CheckFloat4Val(double val)
raise an elog warning if it is
*/
static void CheckFloat8Val(double val)
void CheckFloat8Val(double val)
{
/* defining unsafe floats's will make float4 and float8 ops faster
at the cost of safety, of course! */