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

From CoL
Subject Re: Storing a range of numbers
Date
Msg-id c006d6$28dn$1@news.hub.org
Whole thread Raw
List pgsql-sql
hi,

Chris Fisher wrote:

> Hi,
> 
> Is it possible to store a numeric range in a row and query for it, or 
> would I have to use two rows containing the minimum and maximum limits?

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.

C.


pgsql-sql by date:

Previous
From: Chris Fisher
Date:
Subject: Re: Storing a range of numbers
Next
From: Tom Lane
Date:
Subject: Re: Storing a range of numbers