Re: 9.2 Range Types - Mailing list pgsql-general

From Merlin Moncure
Subject Re: 9.2 Range Types
Date
Msg-id CAHyXU0x0mzv8x_FRavBft-Z66qer9Z5+uFMGc3kvh0JpwYY1eg@mail.gmail.com
Whole thread Raw
In response to 9.2 Range Types  (Dave Bettin <me@davebettin.com>)
List pgsql-general
On Wed, May 30, 2012 at 1:59 PM, 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 needs to be associated with
> the same record.

yup:

postgres=# select array['[0,5999)'::int4range];
    array
--------------
 {"[0,5999)"}
(1 row)


merlin

pgsql-general by date:

Previous
From: Bart Lateur
Date:
Subject: Re: Postgres no longer starts
Next
From: John Shott
Date:
Subject: Re: Postgres no longer starts