Re: text_soundex function

From: "Otandeka Simon Peter" <sotandeka(at)gmail(dot)com>
To: Chris <dmagick(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: text_soundex function
Date: 2008-12-18 08:03:56
Message-ID: efc321cd0812180003le982ec0t528f39b83ee2b126@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Chris,

Tried it and I get

LINE 1: SELECT * FROM s WHERE soundex(nm) = soundex('john');
HINT: No function matches the given name and argument types. You might need
to add explicit type casts.

yet the data type of the nm is text.

I am using 8.3.1.

Anything am doing wrong?

On Thu, Dec 18, 2008 at 10:26 AM, Chris <dmagick(at)gmail(dot)com> wrote:

> Otandeka Simon Peter wrote:
>
>> Does this function(text_soundex) exist in the latest Postgresql versions
>> or it was replaced?
>>
>
> It's called soundex:
>
> http://www.postgresql.org/docs/8.3/interactive/fuzzystrmatch.html
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2008-12-18 08:09:27 Re: text_soundex function
Previous Message Chris 2008-12-18 07:26:17 Re: text_soundex function