Re: pg_trgm Extension Installed but Operators and Functions do not exist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_trgm Extension Installed but Operators and Functions do not exist
Дата
Msg-id 14642.1517171732@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_trgm Extension Installed but Operators and Functions do not exist  ("Igal @ Lucee.org" <igal@lucee.org>)
Ответы Re: pg_trgm Extension Installed but Operators and Functions do notexist  ("Igal @ Lucee.org" <igal@lucee.org>)
Список pgsql-general
"Igal @ Lucee.org" <igal@lucee.org> writes:
> I am trying to run a query which was working a few weeks ago, and it 
> utilizes the <<-> operator but I am getting an error: operator does not 
> exist text <<-> text.

> If I try instead the function word_similarity() I get a similar (no pun 
> intended) error: function word_similarity(text, text) does not exist.

> If I try to install the pg_trgm extension with `CREATE EXTENSION 
> pg_trgm;` I get an error: extension "pg_trgm" already exists.

Seems like a likely bet is that the extension is installed in a schema
that isn't in your search_path.

            regards, tom lane


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

Предыдущее
От: "Igal @ Lucee.org"
Дата:
Сообщение: pg_trgm Extension Installed but Operators and Functions do not exist
Следующее
От: "Igal @ Lucee.org"
Дата:
Сообщение: Re: pg_trgm Extension Installed but Operators and Functions do notexist