pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add min and max aggregates for bytea type.
Date: Tue, 08 Oct 2024 17:52:19 +0000
Message-ID: <E1syENf-002jgh-Dh@gemulon.postgresql.org> (raw)

Add min and max aggregates for bytea type.

Similar to a0f1fce80, although we chose to duplicate logic
rather than invoke byteacmp, primarily to avoid repeat detoasting.

Marat Buharov, Aleksander Alekseev

Discussion: https://postgr.es/m/CAPCEVGXiASjodos4P8pgyV7ixfVn-ZgG9YyiRZRbVqbGmfuDyg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2d24fd942c7010247c5b7b54b416acf7f4592a4e

Modified Files
--------------
doc/src/sgml/func.sgml                   |  4 ++--
src/backend/utils/adt/varlena.c          | 38 ++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h         |  2 +-
src/include/catalog/pg_aggregate.dat     |  6 +++++
src/include/catalog/pg_proc.dat          | 13 +++++++++++
src/test/regress/expected/aggregates.out | 28 ++++++++++++++++++++++-
src/test/regress/expected/opr_sanity.out |  2 ++
src/test/regress/sql/aggregates.sql      | 11 ++++++++-
8 files changed, 99 insertions(+), 5 deletions(-)



Message-ID: <E1syENf-002jgh-Dh@gemulon.postgresql.org>
Permalink:  ../E1syENf-002jgh-Dh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1syENf-002jgh-Dh@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add min and max aggregates for bytea type.
  In-Reply-To: <E1syENf-002jgh-Dh@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