pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Igal @ Lucee.org <igal@lucee.org>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_trgm Extension Installed but Operators and Functions do not exist
Date: Sun, 28 Jan 2018 15:35:32 -0500
Message-ID: <14642.1517171732@sss.pgh.pa.us> (raw)
In-Reply-To: <fb4da7cb-6e21-cb61-0ddf-97ecc6d8f1a7@lucee.org>
References: <fb4da7cb-6e21-cb61-0ddf-97ecc6d8f1a7@lucee.org>

"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




view thread (3+ messages)  latest in thread

Message-ID: <14642.1517171732@sss.pgh.pa.us>
Permalink:  ../14642.1517171732@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14642.1517171732@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, igal@lucee.org
  Subject: Re: pg_trgm Extension Installed but Operators and Functions do not exist
  In-Reply-To: <14642.1517171732@sss.pgh.pa.us>
  References: <fb4da7cb-6e21-cb61-0ddf-97ecc6d8f1a7@lucee.org> <14642.1517171732@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox