Re: Allow the "operand" input of width_bucket() to be NaN

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Allow the "operand" input of width_bucket() to be NaN
Дата
Msg-id
3480079.1751470561@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Allow the "operand" input of width_bucket() to be NaN Tom Lane <tgl@sss.pgh.pa.us>
Re: Allow the "operand" input of width_bucket() to be NaN Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Allow the "operand" input of width_bucket() to be NaN Tom Lane <tgl@sss.pgh.pa.us>
Dean Rasheed  writes:
> On Sat, 21 Jun 2025 at 22:21, Tom Lane  wrote:
>> The attached patch does what was discussed in the pgsql-docs
>> thread at [1], namely change the four-argument variants of
>> width_bucket() to allow their first argument to be NaN,
>> treating that value as larger than any non-NaN.

> LGTM.

Pushed, thanks for looking at it.

> It could even be argued that this is a bug fix, but the lack of prior
> complaints justifies not back-patching.

Yeah, that was my feeling as well.

			regards, tom lane


В списке pgsql-hackers по дате отправления
От: Jianghua Yang
Дата:
От: Maxim Orlov
Дата:
FAQ