Re: Negative value of numGroups

Поиск
Список
Период
Сортировка
От Andrey Lepikhov
Тема Re: Negative value of numGroups
Дата
Msg-id ed1d1a2d-6061-24e5-e8eb-dbda3ec8f66c@postgrespro.ru
обсуждение исходный текст
Ответ на Negative value of numGroups  (Andrey Lepikhov <a.lepikhov@postgrespro.ru>)
Ответы Re: Negative value of numGroups  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 13/5/2022 11:56, Andrey Lepikhov wrote:
> (long) Min(numGroups, (double) LONG_MAX);
> 
> can return negative value, if numGroups > LONG_MAX.
So, because this problem still breaks sqlancer tests I prepared a patch 
(with regression test) that fixes it.

-- 
regards,
Andrey Lepikhov
Postgres Professional
Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #17481: sometime pg_stat_statements coredump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Negative value of numGroups