Search Postgresql Archives

Re: 9.2 Range Types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 array and elements are separated by commas.

David J.

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

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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux