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

From Igal @ Lucee.org
Subject pg_trgm Extension Installed but Operators and Functions do not exist
Date
Msg-id fb4da7cb-6e21-cb61-0ddf-97ecc6d8f1a7@lucee.org
Whole thread Raw
Responses Re: pg_trgm Extension Installed but Operators and Functions do not exist
List pgsql-general

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.

Running PostgreSQL 10.1, compiled by Visual C++ build 1800, 64-bit

Any ideas?  Thanks,

Igal Sapir
Lucee Core Developer
Lucee.org

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL Restore Database Without Backup and Log
Next
From: Tom Lane
Date:
Subject: Re: pg_trgm Extension Installed but Operators and Functions do not exist