Search Postgresql Archives

TSearch2 / UTF-8 and stat() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux