Re: Comparing two double values method - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Comparing two double values method
Date
Msg-id d8501fcb-62fc-4396-b442-781377f1a0c7@iki.fi
Whole thread Raw
In response to Comparing two double values method  (Bowen Shi <zxwsbg12138@gmail.com>)
Responses Re: Comparing two double values method
Re: Comparing two double values method
List pgsql-hackers
On 10/10/2023 13:31, Bowen Shi wrote:
> Dears,
> 
> I noticed that in the `check_GUC_init` function, there is a direct
> comparison using the != operator for two double values, which seems
> problematic.
> 
> I wrote this patch to fix this.

No, the compile-time initial values should match exactly.

-- 
Heikki Linnakangas
Neon (https://neon.tech)




pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: Comparing two double values method
Next
From: Matthias van de Meent
Date:
Subject: Re: Lowering the default wal_blocksize to 4K