Re: Storing a range of numbers - Mailing list pgsql-sql

From Chris Fisher
Subject Re: Storing a range of numbers
Date
Msg-id tO6dnRFl-efLaL7dRVn-gw@comcast.com
Whole thread Raw
Responses Re: Storing a range of numbers  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql

CoL wrote:

> or you can have one column, with array type. than the first element is 
> the min value the second is the max:) Question is: is it good for your 
> applications or not, how woud you use it, etc.

I thought about using an array but it seems overly complicated for what 
I'm doing.  Two rows will work fine ... a numeric range type seemed 
obvious at the time so I figured I just missed it in the documentation 
or something.

Thanks for the reply.

Chris


pgsql-sql by date:

Previous
From: "Peter Galbavy"
Date:
Subject: techniques for manual ordering of data ?
Next
From: CoL
Date:
Subject: Re: Storing a range of numbers