Re: [SQL] indexing a datetime by date

Поиск
Список
Период
Сортировка
От Andrew Merrill
Тема Re: [SQL] indexing a datetime by date
Дата
Msg-id 370113C7.9555D2BC@compclass.com
обсуждение исходный текст
Ответ на RE: [SQL] indexing a datetime by date  ("Jackson, DeJuan" <djackson@cpsgroup.com>)
Список pgsql-hackers
Jackson, DeJuan wrote:

> try:
>  explain select when from notes where datetime_date(when) = 'now'::date;
>         -DEJ

Aha.  That does the trick.  Thanks!

Andrew Merrill



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

Предыдущее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [HACKERS] Should the following work...?
Следующее
От: The Hermit Hacker
Дата:
Сообщение: RE: [HACKERS] Should the following work...?