TSearch2 / UTF-8 and stat() function - Mailing list pgsql-general

From Hannes Dorbath
Subject TSearch2 / UTF-8 and stat() function
Date
Msg-id dm1fov$582$1@news.hub.org
Whole thread Raw
In response to TSearch2 / German compound words / UTF-8  (Hannes Dorbath <light@theendofthetunnel.de>)
List pgsql-general
Another UTF-8 thing I forgot:

fts=# SELECT * FROM stat('SELECT to_tsvector(''simple'', line) FROM fts;');
ERROR:  invalid byte sequence for encoding "UNICODE": 0xe2a7

The query inside the stat() function alone works fine. I have not set
any client encoding. What breaks it? It works as long the inside query
does not return UTF-8 in vectors.

Thanks.

--
Regards,
Hannes Dorbath

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: PREPARE in bash scripts
Next
From: Oleg Bartunov
Date:
Subject: Re: tsearch2: more than one index per table?