Re: Why overlaps is not working

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Why overlaps is not working
Дата
Msg-id 188383.84980.qm@web31809.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Why overlaps is not working  ("Andrus" <eetasoft@online.ee>)
Ответы Re: Why overlaps is not working  (Jorge Godoy <jgodoy@gmail.com>)
Список pgsql-general
> 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?

logs=# select 'infinity'::timestamp;
 timestamp
-----------
 infinity
(1 row)

Regards,

Richard Broersma Jr.

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Why overlaps is not working
Следующее
От: Jorge Godoy
Дата:
Сообщение: Re: Why overlaps is not working