BUG #17172: NaN compare error in hash agg - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17172: NaN compare error in hash agg
Date
Msg-id 17172-7505bea9e04e230f@postgresql.org
Whole thread Raw
Responses Re: BUG #17172: NaN compare error in hash agg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17172
Logged by:          ma liangzhu
Email address:      ma100@hotmail.com
PostgreSQL version: 14beta1
Operating system:   centos7
Description:

postgres=# select '-NaN'::float union select ('Infinity'::float +
'-Infinity') union select 'NaN';
 float8 
--------
    NaN
    NaN
(2 rows)

postgres=# set enable_hashagg =0;
SET
postgres=# select '-NaN'::float union select ('Infinity'::float +
'-Infinity') union select 'NaN';
 float8 
--------
    NaN
(1 row)


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17158: Distinct ROW fails with Postgres 14
Next
From: PG Bug reporting form
Date:
Subject: BUG #17173: Primary Key ignored resulting in duplicate values