git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 674f6fe) | patch
Fix bugs in polymorphic-argument resolution for multiranges.
2021年7月27日 19:01:49 +0000 (15:01 -0400)
2021年7月27日 19:01:49 +0000 (15:01 -0400)
commit 336ea6e6ff1109e7b83370565e3cb211804fda0c
Fix bugs in polymorphic-argument resolution for multiranges.

We failed to deal with an UNKNOWN-type input for
anycompatiblemultirange; that should throw an error indicating
that we don't know how to resolve the multirange type.

We also failed to infer the type of an anycompatiblerange output
from an anycompatiblemultirange input or vice versa.

Per bug #17066 from Alexander Lakhin. Back-patch to v14
where multiranges were added.

Discussion: https://postgr.es/m/17066-16a37f6223a8470b@postgresql.org
src/backend/parser/parse_coerce.c diff | blob | blame | history
src/test/regress/expected/polymorphism.out diff | blob | blame | history
src/test/regress/expected/rangefuncs.out diff | blob | blame | history
src/test/regress/sql/polymorphism.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /