Functional indices with const params.

Поиск
Список
Период
Сортировка
От Denis Perchine
Тема Functional indices with const params.
Дата
Msg-id 00080313043603.22979@dyp.perchine.com
обсуждение исходный текст
Ответы Re: Functional indices with const params.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

is it possible to create functional indices with constant params?

I tried to do
create index ix_s_m on stats(date_part('month', sent_date));

And get
ERROR:  parser: parse error at or near "'"

If it is not possible is there any workarounds for this?

--
Sincerely Yours,
Denis Perchine

----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------

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

Предыдущее
От: Guy Fraser
Дата:
Сообщение: Re: VS: Backup/dump of huge tables and performance
Следующее
От: Daniel Betaille
Дата:
Сообщение: Documentation