diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-03-23 08:45:51 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-03-23 10:13:58 +0100 |
commit | a6715af1e72da289474011be1e2d536f991eda34 (patch) | |
tree | 48ae8ef2c5c858baf43611b8a65c4ec22cbe47bf /contrib/postgres_fdw/postgres_fdw.h | |
parent | 5aed6a1fc214913de9ac69c1717dc64a2483e16d (diff) | |
download | postgresql-a6715af1e72da289474011be1e2d536f991eda34.tar.gz postgresql-a6715af1e72da289474011be1e2d536f991eda34.zip |
Add bit_count SQL function
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.org
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions