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

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to