Bug #730: cannot create functional index

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #730: cannot create functional index
Дата
Msg-id 20020804104949.21968475A0A@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #730: cannot create functional index  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-bugs
Vadim Grepan (kezal@mail.ru) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
cannot create functional index

Long Description
I've tried to create functional index like
that:
=== cut ===
db=> CREATE INDEX NDX_FNC_TBL_TRAFBYTES__DATE ON tbl_trafbytes (date (date_trunc ('day', trafbytes_date)));
ERROR:  parser: parse error at or near "("
=== cut ===

Column trafbytes_date define as
=== cut ===
 trafbytes_date    | timestamp without time zone | not null
=== cut ===

Does it means that PostgreSQL funcional indexes support only simplest fucntions like lower ()?


Sample Code


No file was uploaded with this report

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Bug #728: Interactions between bytea and character encoding
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Bug #730: cannot create functional index