Re: using possibly null timestamptz columns

Поиск
Список
Период
Сортировка
От James Cloos
Тема Re: using possibly null timestamptz columns
Дата
Msg-id m34m4ywvv1.fsf@carbon.jhcloos.org
обсуждение исходный текст
Ответ на Re: using possibly null timestamptz columns  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
>>>>> "TL" == Tom Lane <tgl@sss.pgh.pa.us> writes:

TL> So this just reduces to WHERE tstzrange(s, e) @> now().

Thank you!  I forgot about the range types.

I may even switch to a single range column instead of the separate start
and end columns.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: using possibly null timestamptz columns
Следующее
От: "Andrey Avakimov"
Дата:
Сообщение: PLPython and named arguments