Re: why my sounex does not work?

From: Ondřej Světlík <osvetlik(at)flexibee(dot)eu>
To: pgsql-admin(at)postgresql(dot)org
Cc: taizi <taizi2006blog(at)163(dot)com>
Subject: Re: why my sounex does not work?
Date: 2016-08-14 19:23:02
Message-ID: 891b3244-146b-514b-d19f-3ce6fe8940f3@flexibee.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dne 14.8.2016 v 18:05 taizi napsal(a):
> Hi Everybody,
> this is my first time to ask question on mail list about question of DB.
> i JUST start to read a book from ben forta, which sql in 10.
> The quetion is while i type as scrip in books on following:
> SELECT CUST_NAME, CUST_CONTACT
> FROM CUSTOMERS
> WHERE SOUNDEX(CUST_CONTACT) =SOUNDEX(' MICHAEL GREEN');
> The result is not same as shown in book.
> My psql remind me that sound(character) does not exist.
> how can i deal with it? My psql version is 9.5
> your sincerely
> edison
>
>
>
>

Ho Edison,

do you have postgresql-contrib installed? Did you create the extension?

CREATE EXTENSION fuzzystrmatch;

Regards

Ondřej

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jerry Sievers 2016-08-15 17:36:46 Thanks to pg_upgrade,. we'll reclaim 1.4T of total disk !!
Previous Message taizi 2016-08-14 16:05:18 why my sounex does not work?