Re: SQL timestamp to date cast

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: SQL timestamp to date cast
Дата
Msg-id 20050120095116.GA37770@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: SQL timestamp to date cast  ("Andrei Bintintan" <klodoma@ar-sd.net>)
Список pgsql-sql
On Thu, Jan 20, 2005 at 11:41:41AM +0200, Andrei Bintintan wrote:
> >Another possibility would be to create a functional index on datetime:
> >
> >CREATE INDEX user_action_date_idx ON user_action (date(datetime));
> 
> GREAT!!! I thought it is possible but I didn't knew how to make such 
> indexes. :))

See the "Indexes on Expressions" section in the "Indexes" chapter
of the documentation.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


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

Предыдущее
От: "Andrei Bintintan"
Дата:
Сообщение: Re: SQL timestamp to date cast
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Problem on Geometric functions