Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ107-0002tr-Gl for pgsql-admin@arkaria.postgresql.org; Sun, 14 Aug 2016 19:23:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZ107-00074O-3U for pgsql-admin@arkaria.postgresql.org; Sun, 14 Aug 2016 19:23:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZ106-00074C-BX for pgsql-admin@postgresql.org; Sun, 14 Aug 2016 19:23:14 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bZ0zy-0003Yq-CZ for pgsql-admin@postgresql.org; Sun, 14 Aug 2016 19:23:12 +0000 Received: by mail-wm0-x22e.google.com with SMTP id o80so68142508wme.1 for ; Sun, 14 Aug 2016 12:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flexibee-eu.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=W3d4zjE5KXGhelqkV+c6Xe2O5a+pW73bkMs+IT8FacY=; b=LaMY+K4TLbWrX4+eN0YZ00+qsLB4ebhOB5VmcYXkPRjOPM+yhMSlQ6JBTlmjXVi+Mk KgZZsxwm0sy+pWSfj24ODgs1TOj9PwCI3P+mWnC/Stku9t3htedi09rTPJlv6sPyW8OV jp/oLgbXecQhIoDBipsKAacVK1CxZtGqIgyBccixurYVi5cTKe1wHKywjueAXEzn5EQQ lZP+6i1XQRyzA8YDLC2omGA4am118beenO2tgegsARHGizlaQB2nrlbOmtAEF67YfOpG Vfl13alk3d9PYUw16LRcC4SML95oqKnEOxGm1oDo/wD8ErA7U9JquDeVOsZiCptDysQR SiLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=W3d4zjE5KXGhelqkV+c6Xe2O5a+pW73bkMs+IT8FacY=; b=JT4r3JJEH+szXO2D7MGiPZ23lAPEhr9K8z+2x1mbSAzlQJ/nsEcPhMepossOJFfLvB 1IZlSJ/IsgnBqPDMa60a1xeFc/BzGTy5jt7mhrVbusOACEllgQyZMxLzLnCPxomv4YpM dQmiZ5PZwVim+hJXhY3jz95mEh7+3ZIQaAhy6DEHxcggp8KThSoFHz85OxfniVqjVhhe 6UR1R8OAC8JsSzsaic5USFJYMx7NKlgIhxOHsMFQdKwSckoP1gTXqifocu/EAJJ1B+sZ fkIbd1nUmmNzJTH6zivTegnUaF+E7pHKmNyGlDFadyyyoFBQBEdMWUOcgPRTiMjZqZUv aeqw== X-Gm-Message-State: AEkoouvI24kEqtvDNn/N5KukAcvHtYPRqYZQ3ONlE4oFNWDGJGRnS+UHeYkvLRpSZJtYxA7/ X-Received: by 10.194.0.211 with SMTP id 19mr26118659wjg.124.1471202583708; Sun, 14 Aug 2016 12:23:03 -0700 (PDT) Received: from osvetlik.home ([77.48.30.240]) by smtp.gmail.com with ESMTPSA id i1sm17934781wjl.9.2016.08.14.12.23.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Aug 2016 12:23:03 -0700 (PDT) Subject: Re: why my sounex does not work? To: pgsql-admin@postgresql.org References: <5785f0c0.439f.15689ccd88d.Coremail.taizi2006blog@163.com> Cc: taizi From: =?UTF-8?B?T25kxZllaiBTdsSbdGzDrWs=?= Message-ID: <891b3244-146b-514b-d19f-3ce6fe8940f3@flexibee.eu> Date: Sun, 14 Aug 2016 21:23:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <5785f0c0.439f.15689ccd88d.Coremail.taizi2006blog@163.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin