mirror of https://github.com/postgres/postgres
This function for bit and bytea counts the set bits in the bit or byte string. Internally, we use the existing popcount functionality. For the name, after some discussion, we settled on bit_count, which also exists with this meaning in MySQL, Java, and Python. Author: David Fetter <david@fetter.org> Discussion: https://www.postgresql.org/message-id/flat/20201230105535.GJ13234@fetter.orgpull/64/head
parent
5aed6a1fc2
commit
a6715af1e7
Loading…
Reference in new issue