Re: Range Types - typo + NULL string constructor

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Range Types - typo + NULL string constructor
Дата
Msg-id 1317582331.1724.43.camel@jdavis
обсуждение исходный текст
Ответ на Re: Range Types - typo + NULL string constructor  (Florian Pflug <fgp@phlo.org>)
Ответы Re: Range Types - typo + NULL string constructor  (Alexander Korotkov <aekorotkov@gmail.com>)
Re: Range Types - typo + NULL string constructor  (Jeff Janes <jeff.janes@gmail.com>)
Re: Range Types - typo + NULL string constructor  (Thom Brown <thom@linux.com>)
Список 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.

Done.

Also, made the range parsing even more like records with more code
copied verbatim. And fixed some parsing tests along the way.

Regards,
    Jeff Davis

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: pg_cancel_backend by non-superuser
Следующее
От: Andrew Dunstan
Дата:
Сообщение: build times