1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Add range_agg with multirange inputs

range_agg for normal ranges already existed.  A lot of code can be
shared.

Author: Paul Jungwirth <pj@illuminatedcomputing.com>
Reviewed-by: Chapman Flack <chap@anastigmatix.net>
Discussion: https://www.postgresql.org/message-id/flat/007ef255-35ef-fd26-679c-f97e7a7f30c2@illuminatedcomputing.com
This commit is contained in:
Peter Eisentraut
2022-03-30 20:12:53 +02:00
parent ff50baec65
commit 7ae1619bc5
8 changed files with 156 additions and 2 deletions

View File

@ -20007,6 +20007,11 @@ SELECT NULLIF(value, '(none)') ...
<type>anyrange</type> )
<returnvalue>anymultirange</returnvalue>
</para>
<para role="func_signature">
<function>range_agg</function> ( <parameter>value</parameter>
<type>anymultirange</type> )
<returnvalue>anymultirange</returnvalue>
</para>
<para>
Computes the union of the non-null input values.
</para></entry>