| От | Tom Lane |
|---|---|
| Тема | Re: Full Text Index Scanning |
| Дата | |
| Msg-id | 1674.1296407560@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Full Text Index Scanning (Matt Warner <matt@warnertechnology.com>) |
| Ответы |
Re: Full Text Index Scanning
|
| Список | pgsql-general |
Matt Warner <matt@warnertechnology.com> writes:
> Doesn't seem to work either. Maybe something changed in 9.1?
> create index test_idx on testtable using gin(to_tsvector(wordcolumn||'
> '||reverse(wordcolumn)));
> ERROR: functions in index expression must be marked IMMUTABLE
That's not the same case he tested. The single-parameter form of
to_tsvector isn't immutable, because it depends on the default text
search configuration parameter. It should work, AFAICS, with the
two-parameter form.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера