pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Fisher <essensus@comcast.net>
To: pgsql-sql@postgresql.org
Subject: Re: Storing a range of numbers
Date: Fri, 06 Feb 2004 14:17:11 -0600
Message-ID: <tO6dnRFl-efLaL7dRVn-gw@comcast.com> (raw)
In-Reply-To: <c006d6$28dn$1@news.hub.org>
References: <zLCdnc4jaOBsLr_dRVn-tw@comcast.com>
	<c006d6$28dn$1@news.hub.org>



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



view thread (3+ messages)  latest in thread

Message-ID: <tO6dnRFl-efLaL7dRVn-gw@comcast.com>
Permalink:  ../tO6dnRFl-efLaL7dRVn-gw@comcast.com/
Also on:    postgresql.org/message-id/tO6dnRFl-efLaL7dRVn-gw@comcast.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: essensus@comcast.net
  Subject: Re: Storing a range of numbers
  In-Reply-To: <tO6dnRFl-efLaL7dRVn-gw@comcast.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox