Re: Improve upcasting for INT range and multi range types
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Improve upcasting for INT range and multi range types |
| Дата | |
| Msg-id | 2529538.1702440987@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Improve upcasting for INT range and multi range types (jian he <jian.universality@gmail.com>) |
| Ответы |
Re: Improve upcasting for INT range and multi range types
|
| Список | pgsql-hackers |
jian he <jian.universality@gmail.com> writes:
> Based on my interpretation, I don't think SELECT 2::INT4 <@ '[1,
> 4)'::INT8RANGE is doable.
Yeah, it would require a considerable expansion of the scope of
what can be matched by a polymorphic operator. I'm afraid that
the negative consequences (mainly, "ambiguous operator" failures
because more than one thing can be matched) would outweigh the
benefits. It is kind of annoying though that the system can't
do the "obvious" right thing here.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера