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>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: John Naylor <john.naylor@enterprisedb.com>
Subject: Re: popcount
Date: Tue, 23 Mar 2021 10:51:08 +0100
Message-ID: <fabf4a9b-3671-4e48-24c3-1ec0bd5ef323@enterprisedb.com> (raw)
In-Reply-To: <20210321013108.GF7457@fetter.org>
References: <20210111161354.GA8721@fetter.org>
	<e48355d3-efaf-e762-fffa-4b2191680292@enterprisedb.com>
	<338981.1610984050@sss.pgh.pa.us>
	<d33d668b-bf70-126d-9ca3-ad5a50488091@enterprisedb.com>
	<CA+Tgmoa18D-8FvtBE3-dJHDTX6A33OeAmRKa6R7+i8-E_o1G-w@mail.gmail.com>
	<20210119163818.GE8721@fetter.org>
	<CAMsGm5dKEDVJRN1qw=mz_mQPKR7=n9H5bVif--doWmePnVQ51Q@mail.gmail.com>
	<CALtqXTdTzdZoUSxNC7jS0TjEHJvdx=R2tN6DyNFbnumdDaoHjw@mail.gmail.com>
	<CAFBsxsF1q6BEa-NPkzQHFZ7D0GGxdM2uWDCYb-v08wPTmO9XOw@mail.gmail.com>
	<775b91fc-80fa-179d-bb20-0bf230e6db40@enterprisedb.com>
	<20210321013108.GF7457@fetter.org>

On 21.03.21 02:31, David Fetter wrote:
>> I have now read the entire internet on what a suitable name for this
>> function could be.  I think the emerging winner is BIT_COUNT(), which
>> already exists in MySQL, and also in Python (int.bit_count()) and Java
>> (Integer.bitCount()).
> 
> Thanks for doing this tedious work. Please find attached the next
> version of the patch.

committing, with some polishing





view thread (20+ messages)  latest in thread

Message-ID: <fabf4a9b-3671-4e48-24c3-1ec0bd5ef323@enterprisedb.com>
Permalink:  ../fabf4a9b-3671-4e48-24c3-1ec0bd5ef323@enterprisedb.com/
Also on:    postgresql.org/message-id/fabf4a9b-3671-4e48-24c3-1ec0bd5ef323@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, john.naylor@enterprisedb.com
  Subject: Re: popcount
  In-Reply-To: <fabf4a9b-3671-4e48-24c3-1ec0bd5ef323@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