Re: popcount

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: popcount
Дата
Msg-id 20210111161354.GA8721@fetter.org
обсуждение исходный текст
Ответ на Re: popcount  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: popcount  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
On Mon, Jan 11, 2021 at 03:50:54PM +0100, Peter Eisentraut wrote:
> On 2020-12-30 17:41, David Fetter wrote:
> > > The input may have more than 2 billion bits set to 1. The biggest possible
> > > result should be 8 billion for bytea (1 GB with all bits set to 1).
> > > So shouldn't this function return an int8?
> > It does now, and thanks for looking at this.
> 
> The documentation still reflects the previous int4 return type (in two
> different spellings, too).

Thanks for looking this over!

Please find attached the next version with corrected documentation.

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade test for binary compatibility of core data types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add Nullif case for eval_const_expressions_mutator