mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
Revert 29854ee8d1
due to buildfarm failures
Reported-by: Tom Lane Discussion: https://postgr.es/m/CAPpHfdvcnw3x7jdV3r52p4%3D5S4WUxBCzcQKB3JukQHoicv1LSQ%40mail.gmail.com
This commit is contained in:
@@ -19181,29 +19181,6 @@ SELECT NULLIF(value, '(none)') ...
|
||||
<returnvalue>{[1,2)}</returnvalue>
|
||||
</para></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry role="func_table_entry"><para role="func_signature">
|
||||
<indexterm>
|
||||
<primary>unnest</primary>
|
||||
<secondary>for multirange</secondary>
|
||||
</indexterm>
|
||||
<function>unnest</function> ( <type>anymultirange</type> )
|
||||
<returnvalue>setof anyrange</returnvalue>
|
||||
</para>
|
||||
<para>
|
||||
Expands a multirange into a set of ranges.
|
||||
The ranges are read out in storage order (ascending).
|
||||
</para>
|
||||
<para>
|
||||
<literal>unnest('{[1,2), [3,4)}'::int4multirange)</literal>
|
||||
<returnvalue></returnvalue>
|
||||
<programlisting>
|
||||
[1,2)
|
||||
[3,4)
|
||||
</programlisting>
|
||||
</para></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
@@ -266,18 +266,6 @@ SELECT '[4,4)'::int4range;
|
||||
SELECT '{}'::int4multirange;
|
||||
SELECT '{[3,7)}'::int4multirange;
|
||||
SELECT '{[3,7), [8,9)}'::int4multirange;
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
A multirange can be cast to an array of ranges of the same type.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Examples:
|
||||
<programlisting>
|
||||
SELECT '{[3,7), [8,9)}'::int4multirange::int4range[];
|
||||
SELECT '{[1.0,14.0), [20.0,25.0)}'::nummultirange::numrange[];
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
|
Reference in New Issue
Block a user