Re: pg_trgm Extension Installed but Operators and Functions do not exist - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_trgm Extension Installed but Operators and Functions do not exist
Date
Msg-id 14642.1517171732@sss.pgh.pa.us
Whole thread Raw
In response to pg_trgm Extension Installed but Operators and Functions do not exist  ("Igal @ Lucee.org" <igal@lucee.org>)
Responses Re: pg_trgm Extension Installed but Operators and Functions do notexist
List 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 by date:

Previous
From: "Igal @ Lucee.org"
Date:
Subject: pg_trgm Extension Installed but Operators and Functions do not exist
Next
From: "Igal @ Lucee.org"
Date:
Subject: Re: pg_trgm Extension Installed but Operators and Functions do notexist