Re: 9.2 Beta: intersection of daterange

Поиск
Список
Период
Сортировка
От Brar Piening
Тема Re: 9.2 Beta: intersection of daterange
Дата
Msg-id 4FB367F3.1070602@gmx.de
обсуждение исходный текст
Ответ на Re: 9.2 Beta: intersection of daterange  (Misa Simic <misa.simic@gmail.com>)
Ответы Re: 9.2 Beta: intersection of daterange  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Misa Simic wrote:
> I think result is ok... 2010-01-04 is not inside first range...

Staring at my query for five minutes obviously didn't prevent me from 
creating that noise.

I meant to query "SELECT '[2010-03-15,2010-05-22)'::daterange * 
'[2010-04-01,)'::daterange AS intersection;" which gives the expected 
result.

Sorry for the noise!

Regards,

Brar


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

Предыдущее
От: Misa Simic
Дата:
Сообщение: Re: 9.2 Beta: intersection of daterange
Следующее
От: Mark Cave-Ayland
Дата:
Сообщение: Interrupting long external library calls