count the number of bits set to 1 in a bit string field

Поиск
Список
Период
Сортировка
От Rajarshi Guha
Тема count the number of bits set to 1 in a bit string field
Дата
Msg-id 67D82BA8-7F7C-4E88-86DD-FD086F748C6B@indiana.edu
обсуждение исходный текст
Ответы Re: count the number of bits set to 1 in a bit string field  (Ragnar <gnari@hive.is>)
Re: count the number of bits set to 1 in a bit string field  (Stefan Becker <pgsql@yukonho.de>)
Список pgsql-general
Hi, is there a built in function that will give me the number of bits
that are set to 1 in a bit string field?

Thanks,

-------------------------------------------------------------------
Rajarshi Guha  <rguha@indiana.edu>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04  06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
Without love intelligence is dangerous;
without intelligence love is not enough.
    -- Ashley Montagu



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

Предыдущее
От: angga erwina
Дата:
Сообщение: slony over LAN and VPN
Следующее
От: novnov
Дата:
Сообщение: Could not create log file error?