Skip site navigation (1) Skip section navigation (2)

Re: Using pg_trgm

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Using pg_trgm
Date: 2012-03-13 16:51:48
Message-ID: 20120313165148.GA17106@tux (view raw or flat)
Thread:
Lists: pgsql-novice
JORGE MALDONADO <jorgemal1960(at)gmail(dot)com> wrote:

> I tried to use the "similarity" function to detect possible duplicated in a
> table but it is not recognized. Is there something I have to do before using
> it? What is the correct procedure to get it working?

Create extension?

test=# create extension pg_trgm;
CREATE EXTENSION
Time: 176,301 ms



Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

In response to

Responses

pgsql-novice by date

Next:From: Andreas KretschmerDate: 2012-03-13 17:42:28
Subject: Re: Using pg_trgm
Previous:From: JORGE MALDONADODate: 2012-03-13 16:44:59
Subject: Using pg_trgm

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group