Add bit_xor aggregate function
Peter Eisentraut <peter@eisentraut.org>
Add bit_xor aggregate function This can be used as a checksum for unordered sets. bit_and and bit_or already exist. Author: Alexey Bashtanov <bashtanov@imap.cc> Reviewed-by: Ibrar Ahmed <ibrar.ahmad@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/9d4582ae-ecfc-3a13-2238-6ab5a37c1f41@imap.cc
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +27 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_aggregate.dat | modified | +8 −0 |
| src/include/catalog/pg_proc.dat | modified | +12 −0 |
| src/test/regress/expected/aggregates.out | modified | +15 −8 |
| src/test/regress/sql/aggregates.sql | modified | +10 −2 |
Documentation touched
Discussion
- [patch] bit XOR aggregate functions 24 messages · 2021-02-09 → 2021-03-07