pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: David Fetter <david@fetter.org>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Cc: Vik Fearing <vik.fearing@2ndquadrant.com>
Subject: Re: popcount
Date: Mon, 11 Jan 2021 15:50:54 +0100
Message-ID: <eb416bd3-9ee2-8a81-8cd4-d61baaf93ec2@enterprisedb.com> (raw)
In-Reply-To: <20201230164108.GK13234@fetter.org>
References: <20201230105535.GJ13234@fetter.org>
	<5ea2932e-50f5-4a74-9550-5e3291b6652b@manitou-mail.org>
	<20201230164108.GK13234@fetter.org>

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





view thread (20+ messages)  latest in thread

Message-ID: <eb416bd3-9ee2-8a81-8cd4-d61baaf93ec2@enterprisedb.com>
Permalink:  ../eb416bd3-9ee2-8a81-8cd4-d61baaf93ec2@enterprisedb.com/
Also on:    postgresql.org/message-id/eb416bd3-9ee2-8a81-8cd4-d61baaf93ec2@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@enterprisedb.com, david@fetter.org, daniel@manitou-mail.org, vik.fearing@2ndquadrant.com
  Subject: Re: popcount
  In-Reply-To: <eb416bd3-9ee2-8a81-8cd4-d61baaf93ec2@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox