Re: Why overlaps is not working

Поиск
Список
Период
Сортировка
От Jorge Godoy
Тема Re: Why overlaps is not working
Дата
Msg-id 87vellg9us.fsf@gmail.com
обсуждение исходный текст
Ответ на Re: Why overlaps is not working  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список pgsql-general
Richard Broersma Jr <rabroersma@yahoo.com> writes:

>> In my application second and fourth parameters can be NULL which means
>> forever.
>> It this best solution ?
>> How many times this is slower than expression in where clause?
>
> I am not sure if this would work for you, but instead of using NULL to
> represent infinity, why not use 'infinity' to represent infinity?

If he casts all his dates to timestamps then this might be a good option.


--
Jorge Godoy      <jgodoy@gmail.com>

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Why overlaps is not working
Следующее
От: Craig White
Дата:
Сообщение: [SOLVED] Re: authentication question