pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Support for unnest(multirange) 2+ messages / 1 participants [nested] [flat]
* pgsql: Support for unnest(multirange) @ 2021-07-18 18:07 Alexander Korotkov <akorotkov@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Alexander Korotkov @ 2021-07-18 18:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Support for unnest(multirange) It has been spotted that multiranges lack of ability to decompose them into individual ranges. Subscription and proper expanded object representation require substantial work, and it's too late for v14. This commit provides the implementation of unnest(multirange), which is quite trivial. unnest(multirange) is defined as a polymorphic procedure. Catversion is bumped. Reported-by: Jonathan S. Katz Discussion: https://postgr.es/m/flat/60258efe-bd7e-4886-82e1-196e0cac5433%40postgresql.org Author: Alexander Korotkov Reviewed-by: Justin Pryzby, Jonathan S. Katz, Zhihong Yu, Tom Lane Reviewed-by: Alvaro Herrera Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9e3c217bd98da803709872a8612577d88a39329a Modified Files -------------- doc/src/sgml/func.sgml | 23 +++++++++ src/backend/utils/adt/multirangetypes.c | 73 +++++++++++++++++++++++++++ src/include/catalog/pg_proc.dat | 4 ++ src/test/regress/expected/multirangetypes.out | 24 +++++++++ src/test/regress/sql/multirangetypes.sql | 7 +++ 5 files changed, 131 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Support for unnest(multirange) @ 2021-07-18 18:11 Alexander Korotkov <akorotkov@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Alexander Korotkov @ 2021-07-18 18:11 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Support for unnest(multirange) It has been spotted that multiranges lack of ability to decompose them into individual ranges. Subscription and proper expanded object representation require substantial work, and it's too late for v14. This commit provides the implementation of unnest(multirange), which is quite trivial. unnest(multirange) is defined as a polymorphic procedure. Catversion is bumped. Reported-by: Jonathan S. Katz Discussion: https://postgr.es/m/flat/60258efe-bd7e-4886-82e1-196e0cac5433%40postgresql.org Author: Alexander Korotkov Reviewed-by: Justin Pryzby, Jonathan S. Katz, Zhihong Yu, Tom Lane Reviewed-by: Alvaro Herrera Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/244ad5415557812a6ac4dc5d6e2ae908361d82c3 Modified Files -------------- doc/src/sgml/func.sgml | 23 +++++++++ src/backend/utils/adt/multirangetypes.c | 73 +++++++++++++++++++++++++++ src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_proc.dat | 4 ++ src/test/regress/expected/multirangetypes.out | 24 +++++++++ src/test/regress/sql/multirangetypes.sql | 7 +++ 6 files changed, 132 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-07-18 18:11 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-07-18 18:07 pgsql: Support for unnest(multirange) Alexander Korotkov <akorotkov@postgresql.org> 2021-07-18 18:11 pgsql: Support for unnest(multirange) Alexander Korotkov <akorotkov@postgresql.org>
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