TSearch2 / UTF-8 and stat() function

Поиск
Список
Период
Сортировка
От Hannes Dorbath
Тема TSearch2 / UTF-8 and stat() function
Дата
Msg-id dm1fov$582$1@news.hub.org
обсуждение исходный текст
Ответ на TSearch2 / German compound words / UTF-8  (Hannes Dorbath <light@theendofthetunnel.de>)
Список 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 по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: PREPARE in bash scripts
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch2: more than one index per table?