Re: Tsearch2 Spanish Dictionary - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Tsearch2 Spanish Dictionary
Date
Msg-id 20080421172246.GE14464@alvh.no-ip.org
Whole thread Raw
In response to Tsearch2 Spanish Dictionary  (Mario Ignacio Rodríguez Cortés<ignacio.cortes@inegi.gob.mx>)
List pgsql-general
Mario Ignacio Rodríguez Cortés wrote:

> But in postgresql-8.3.1:
>
> SELECT to_tsvector('spanish','estadística');
>  to_tsvector
> -------------
>  'stic':2
> (1 row)

It works for me:

alvherre=# SELECT to_tsvector('spanish','estadística');
 to_tsvector
--------------
 'estadist':1
(1 fila)

alvherre=# select version();
                                                           version
      

------------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 8.4devel on x86_64-unknown-linux-gnu, compiled by GCC gcc-4.1 (GCC) 4.1.3 20080114 (prerelease) (Debian
4.1.2-19)
(1 fila)


So I'm thinking you've got encoding problems.  Did you set up
client_encoding appropriately?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Mario Ignacio Rodríguez Cortés
Date:
Subject: Tsearch2 Spanish Dictionary
Next
From: Colin Wetherbee
Date:
Subject: Storing computed values