Re: 9.2 Range Types

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: 9.2 Range Types
Дата
Msg-id 9AD05441-4B78-4EAB-A2A4-4491701017BD@yahoo.com
обсуждение исходный текст
Ответ на 9.2 Range Types  (Dave Bettin <me@davebettin.com>)
Ответы Re: 9.2 Range Types  (Dave Bettin <me@davebettin.com>)
Список pgsql-general
In theory...(not running 9.2 that I could test):

{"[0,5999)","[7000,7999)"}::int4range[]

Not sure the exact type name for the int4range.  The double quotes are necessary.  The curly-braces surround the whole
arrayand elements are separated by commas. 

David J.

On May 30, 2012, at 14:59, Dave Bettin <me@davebettin.com> wrote:

> Does 9.2 support an array of ranges?  For example, I have the following int4ranges => [0,5999) and [7000, 7999) which
needsto be associated with the same record. 
>
> Thanks,
> Dave

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

Предыдущее
От: John Shott
Дата:
Сообщение: Re: Postgres no longer starts
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: Postgres no longer starts