Re: doverlaps() returns null

Поиск
Список
Период
Сортировка
От Rodrigo De León
Тема Re: doverlaps() returns null
Дата
Msg-id 1179780141.674741.123150@x35g2000prf.googlegroups.com
обсуждение исходный текст
Ответ на Re: doverlaps() returns null  (Rodrigo De León <rdeleonp@gmail.com>)
Список pgsql-general
On May 21, 4:49 am, "Andrus" <kobrule...@hot.ee> wrote:
> I'm using this for emplyment, vacation, illness etc. period calculation.
> OVERLAPS produces invalid result in this case for DATE as discussed in other
> thread.
>
> select doverlaps(date '2007-01-01',date '2007-01-02',date '2007-01-02',date
> '2007-01-04');
>
> returns  FALSE
>
> When first period end and second period start dates are the the same,
> doverlaps() must return TRUE.
>
> Andrus.

OR $2 = $3


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

Предыдущее
От: PFC
Дата:
Сообщение: feature suggestions
Следующее
От: "Ericson Smith"
Дата:
Сообщение: What is "Postgresql Hot"?