Re: Storing a range of numbers

From: Chris Fisher <essensus(at)comcast(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Storing a range of numbers
Date: 2004-02-06 20:17:11
Message-ID: tO6dnRFl-efLaL7dRVn-gw@comcast.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Galbavy 2004-02-07 10:47:37 techniques for manual ordering of data ?
Previous Message Octavio Alvarez 2004-02-06 17:24:52 Re: [PERFORM] Seq scan on zero-parameters function