pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add bit_xor aggregate function
Date: Sat, 06 Mar 2021 18:31:10 +0000
Message-ID: <E1lIbhm-0001TX-KO@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f9a0392e1cf36179c984f655a6589734b8dd7468

Modified Files
--------------
doc/src/sgml/func.sgml                   | 27 +++++++++++++++++++++++++++
src/include/catalog/catversion.h         |  2 +-
src/include/catalog/pg_aggregate.dat     |  8 ++++++++
src/include/catalog/pg_proc.dat          | 12 ++++++++++++
src/test/regress/expected/aggregates.out | 23 +++++++++++++++--------
src/test/regress/sql/aggregates.sql      | 12 ++++++++++--
6 files changed, 73 insertions(+), 11 deletions(-)



Message-ID: <E1lIbhm-0001TX-KO@gemulon.postgresql.org>
Permalink:  ../E1lIbhm-0001TX-KO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lIbhm-0001TX-KO@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Add bit_xor aggregate function
  In-Reply-To: <E1lIbhm-0001TX-KO@gemulon.postgresql.org>
  References: <E1lIbhm-0001TX-KO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox