From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add min and max aggregates for bytea type. |
Date: | 2024-10-08 17:52:19 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-10-08 18:13:07 | pgsql: Silence assorted annoying test output. |
Previous Message | Andres Freund | 2024-10-08 16:57:17 | pgsql: bufmgr/smgr: Don't cross segment boundaries in StartReadBuffers( |