pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: David Fetter <david@fetter.org>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: John Naylor <john.naylor@enterprisedb.com>
Subject: Re: popcount
Date: Wed, 24 Mar 2021 23:58:15 +0000
Message-ID: <20210324235814.GA24232@fetter.org> (raw )
In-Reply-To: <fabf4a9b-3671-4e48-24c3-1ec0bd5ef323@enterprisedb.com >
References: <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 >
<fabf4a9b-3671-4e48-24c3-1ec0bd5ef323@enterprisedb.com >
On Tue, Mar 23, 2021 at 10:51:08AM +0100, Peter Eisentraut wrote:
> 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
Thanks!
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
view thread (20+ messages)
Message-ID: <20210324235814.GA24232@fetter.org>
Permalink: ../20210324235814.GA24232@fetter.org/
Also on: postgresql.org/message-id/20210324235814.GA24232@fetter.org
copy link · copy postgr.es
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: david@fetter.org, peter.eisentraut@enterprisedb.com, john.naylor@enterprisedb.com
Subject: Re: popcount
In-Reply-To: <20210324235814.GA24232@fetter.org>
* 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