Re: BUG #4187: function to_tsvector not immutable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4187: function to_tsvector not immutable
Дата
Msg-id 15775.1211549102@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4187: function to_tsvector not immutable  ("Martin Sullivan" <ms08@zois.co.uk>)
Список pgsql-bugs
"Martin Sullivan" <ms08@zois.co.uk> writes:
> The only wrinkle being that to_tsvector needs to be ALTERed
> to IMMUTABLE using the following (as user postgres):
>  alter function to_tsvector(regconfig,text) immutable
>  alter function to_tsvector(text) immutable

The current settings are intentional: the one-parameter form of
to_tsvector depends on a GUC parameter, so claiming it is immutable
is simply wrong.  Please read the documentation concerning how to
use these functions with an index.

            regards, tom lane

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

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: BUG #4188: Array field column (varchar[]) cannot be cast to type "text"
Следующее
От: "Dennis Gilmore"
Дата:
Сообщение: BUG #4190: sparc64 test suite fails