Re: Storing a range of numbers

Поиск
Список
Период
Сортировка
От Chris Fisher
Тема Re: Storing a range of numbers
Дата
Msg-id tO6dnRFl-efLaL7dRVn-gw@comcast.com
обсуждение исходный текст
Ответы Re: Storing a range of numbers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Peter Galbavy"
Дата:
Сообщение: techniques for manual ordering of data ?
Следующее
От: CoL
Дата:
Сообщение: Re: Storing a range of numbers