Re: GiST for range types (was Re: Range Types - typo + NULL string constructor)
Вложения
В списке pgsql-hackers по дате отправления:
| От | Jeff Davis |
|---|---|
| Тема | Re: GiST for range types (was Re: Range Types - typo + NULL string constructor) |
| Дата | |
| Msg-id | 1320122012.23464.4.camel@jdavis обсуждение исходный текст |
| Ответ на | Re: GiST for range types (was Re: Range Types - typo + NULL string constructor) (Alexander Korotkov <aekorotkov@gmail.com>) |
| Ответы |
Re: GiST for range types (was Re: Range Types - typo +
NULL string constructor)
Re: GiST for range types (was Re: Range Types - typo + NULL string constructor) |
| Список | pgsql-hackers |
On Mon, 2011-10-24 at 15:05 +0400, Alexander Korotkov wrote:
> I think implementing subtype_diff for each datatype is ok. We could
> implement some universal function based on minus operator and casting
> to double precision. But such solution might be unacceptable in
> both predictability (operator and casting function might do not the
> things we expect) and performance.
>
Done.
Everything is complete in this patch with the exception of two optional
things, which I still intend to do but might best be done in a separate
commit:
* support typmod for ranges
* support casts between different range types
Both of these things, I believe, require the introduction of an
RangeCoerceExpr, similar to ArrayCoerceExpr. That's fine, but it creates
a rather large diff, so it might be best left for a later commit.
Regards,
Jeff Davis
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера