Re: popcount

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: popcount
Дата
Msg-id 775b91fc-80fa-179d-bb20-0bf230e6db40@enterprisedb.com
обсуждение исходный текст
Ответ на Re: popcount  (John Naylor <john.naylor@enterprisedb.com>)
Ответы Re: popcount  (David Fetter <david@fetter.org>)
Список pgsql-hackers
On 18.03.21 13:51, John Naylor wrote:
> Hi David,
> 
> Just a nitpick:
> 
> +SET bytea_output TO hex;
> 
> Since we don't see the string in the output, I don't immediately see the 
> reason to change the output format here?
> 
> Aside from that, this patch works as expected, and is ready for committer.

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



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Custom compression methods
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] Custom compression methods