| От | Jeff Davis |
|---|---|
| Тема | Re: Range Types - typo + NULL string constructor |
| Дата | |
| Msg-id | 1317571270.1724.38.camel@jdavis обсуждение исходный текст |
| Ответ на | Re: Range Types - typo + NULL string constructor (Florian Pflug <fgp@phlo.org>) |
| Список | pgsql-hackers |
On Sun, 2011-10-02 at 11:32 +0200, Florian Pflug wrote: > Looking at the patch, I noticed that it's possible to specify the default > boundaries ([], [), (] or ()) per individual float type with the > DEFAULT_FLAGS clause of CREATE TYPE .. AS RANGE. I wonder if that doesn't > do more harm then good - it makes it impossible to deduce the meaning of > e.g. numericrange(1.0, 2.0) without looking up the definition of numericrange. > > I suggest we pick one set of default boundaries, ideally '[)' since that > is what all the built-in canonization functions produce, and stick with it. That sounds reasonable to me. Unless someone objects, I'll make the change in the next patch. Regards,Jeff Davis
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера