Re: Comparing two double values method

Поиск
Список
Период
Сортировка
Искать
От
Heikki Linnakangas
Тема
Re: Comparing two double values method
Дата
Msg-id
d8501fcb-62fc-4396-b442-781377f1a0c7@iki.fi
Ответ на
Список
Дерево обсуждения
Comparing two double values method Bowen Shi <zxwsbg12138@gmail.com>
Re: Comparing two double values method Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: Comparing two double values method Heikki Linnakangas <hlinnaka@iki.fi>
Re: Comparing two double values method Tom Lane <tgl@sss.pgh.pa.us>
Re: Comparing two double values method Bowen Shi <zxwsbg12138@gmail.com>
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 по дате отправления
От: Matthias van de Meent
Дата:
От: Matthias van de Meent
Дата:
FAQ