Re: Range Type constructors

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Range Type constructors
Дата
Msg-id 19558.1297365663@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Range Type constructors  (Florian Pflug <fgp@phlo.org>)
Ответы Re: Range Type constructors  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
Florian Pflug <fgp@phlo.org> writes:
>> This might solve the constructor problem nicely if we could do things
>> like:
>> RANGE[10,20)
>> But I have a feeling that will either cause a bizarre problem with the
>> grammar, or someone will think it's not very SQL-like.

> It will certainly mess up syntax highlighting and matching bracket detection
> in pretty much all text editors...

Yeah.  It's a cute-looking notation but surely it will cause many more
problems than it's worth.  I agree with Robert's suggestion of plain
functions named like range_co() etc.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Remove more SGML tabs.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pl/python custom exceptions for SPI