1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add min and max aggregates for composite types (records).

Like min/max for arrays, these are just thin wrappers around
the existing btree comparison function for records.

Aleksander Alekseev

Discussion: https://postgr.es/m/CAO=iB8L4WYSNxCJ8GURRjQsrXEQ2-zn3FiCsh2LMqvWq2WcONg@mail.gmail.com
This commit is contained in:
Tom Lane
2024-07-11 11:50:50 -04:00
parent bb19b70081
commit a0f1fce80c
7 changed files with 71 additions and 4 deletions

View File

@ -22048,7 +22048,7 @@ SELECT NULLIF(value, '(none)') ...
as well as <type>inet</type>, <type>interval</type>,
<type>money</type>, <type>oid</type>, <type>pg_lsn</type>,
<type>tid</type>, <type>xid8</type>,
and arrays of any of these types.
and also arrays and composite types containing sortable data types.
</para></entry>
<entry>Yes</entry>
</row>
@ -22067,7 +22067,7 @@ SELECT NULLIF(value, '(none)') ...
as well as <type>inet</type>, <type>interval</type>,
<type>money</type>, <type>oid</type>, <type>pg_lsn</type>,
<type>tid</type>, <type>xid8</type>,
and arrays of any of these types.
and also arrays and composite types containing sortable data types.
</para></entry>
<entry>Yes</entry>
</row>