Re: [GENERAL] Functional indices with const params.

2000-08-03 Thread Tom Lane
Denis Perchine <[EMAIL PROTECTED]> writes: > is it possible to create functional indices with constant params? > create index ix_s_m on stats(date_part('month', sent_date)); No. > If it is not possible is there any workarounds for this? Sure: make your own function that does what you want with

[GENERAL] Functional indices with const params.

2000-08-02 Thread Denis Perchine
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