Re: popcount

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: David Fetter <david(at)fetter(dot)org>, Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>, Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
Subject: Re: popcount
Date: 2021-01-11 14:50:54
Message-ID: eb416bd3-9ee2-8a81-8cd4-d61baaf93ec2@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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).

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-01-11 15:15:52 Re: Multiple hosts in connection string failed to failover in non-hot standby mode
Previous Message Peter Eisentraut 2021-01-11 14:34:32 Re: multi-install PostgresNode