Thread: pgsql-server/src/backend/utils/adt float.c num ...

pgsql-server/src/backend/utils/adt float.c num ...

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/07/30 16:48:45

Modified files:
    src/backend/utils/adt: float.c numeric.c

Log message:
    Fix numeric_smaller, numeric_larger, float4smaller, float4larger,
    float8smaller, float8larger (and thereby the MIN/MAX aggregates on these
    datatypes) to agree with the datatypes' comparison operations as
    regards NaN handling.  In all these datatypes, NaN is arbitrarily
    considered larger than any normal value ... but MIN/MAX had not gotten
    the word.  Per recent discussion on pgsql-sql.