Re: levenshtein contrib installation - Mailing list pgsql-novice

From Arnaud Lesauvage
Subject Re: levenshtein contrib installation
Date
Msg-id 4486A8B2.2050107@freesurf.fr
Whole thread Raw
In response to Re: levenshtein contrib installation  (Andreas Seltenreich <andreas+pg@gate450.dyndns.org>)
List pgsql-novice
Andreas Seltenreich a écrit :
> Arnaud Lesauvage <thewild@freesurf.fr> writes:
>
>> I am running Postgresql 8.1.3 on a Win32 box (from binaries).
>> I read on the list that there was a contrib by Joseph Conway to
>> implement the Levenshtein distance algorithm.
>> Could anyone tell me if it is easy to install such a contrib in
>> postgresql, and if it is, how to do it ?
>> I suspect there is some kind of compilation needed, but maybe I am
>> wrong ?
>
> If it isn't part of pginstaller, I'm afraid so. The environment needed
> on win32 for building contrib modules should be the same as for
> postgresql itself, which is documented here:
> <http://www.postgresql.org/docs/8.1/static/installation.html>
>
> If you don't need the fastest possible implementation, you could as
> well use a PL/pgSQL version:

Hi Andreas !

The PL/pgSQL version you posted is just perfect ! Thanks a lot !

--
Arnaud


pgsql-novice by date:

Previous
From: Andreas Seltenreich
Date:
Subject: Re: levenshtein contrib installation
Next
From: Tom Lane
Date:
Subject: Re: Sorting distinct dates by year and month respectively