| От | Tom Lane |
|---|---|
| Тема | Re: anyelement -> anyrange |
| Дата | |
| Msg-id | 9645.1471397351@sss.pgh.pa.us обсуждение |
| Ответ на | Re: anyelement -> anyrange (Jim Nasby <Jim.Nasby@BlueTreble.com>) |
| Ответы |
Re: anyelement -> anyrange
|
| Список | pgsql-hackers |
Jim Nasby <Jim.Nasby@bluetreble.com> writes:
> I can't think of any reason you'd want two different range types on a
> single element type.
We would not have built it that way if there were not clear use-cases.
An easy example is you might want both a continuous timestamp range
and one that is quantized to hour boundaries. Primarily what the
range type brings in besides the element type is a canonicalization
function; and we can't guess which one you want.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера