BUG #17172: NaN compare error in hash agg

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: ma100(at)hotmail(dot)com
Subject: BUG #17172: NaN compare error in hash agg
Date: 2021-09-01 02:25:31
Message-ID: 17172-7505bea9e04e230f@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17172
Logged by: ma liangzhu
Email address: ma100(at)hotmail(dot)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)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-09-01 09:21:08 BUG #17173: Primary Key ignored resulting in duplicate values
Previous Message Tom Lane 2021-08-31 20:43:54 Re: BUG #17158: Distinct ROW fails with Postgres 14