Re: Storing a range of numbers

Поиск
Список
Период
Сортировка
От CoL
Тема Re: Storing a range of numbers
Дата
Msg-id c006d6$28dn$1@news.hub.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Chris Fisher
Дата:
Сообщение: Re: Storing a range of numbers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Storing a range of numbers