Skip site navigation (1) Skip section navigation (2)

ERROR: translation failed from server encoding to wchar_t

From: ilanco(at)gmail(dot)com
To: pgsql-hackers(at)postgresql(dot)org
Subject: ERROR: translation failed from server encoding to wchar_t
Date: 2008-01-07 19:16:29
Message-ID: 9a97e468-9aef-47ea-99a7-0bbf76afe4dc@m34g2000hsf.googlegroups.com (view raw or flat)
Thread:
Lists: pgsql-hackers
I am using tsearch2 with pgsql 8.2.5 and get the following error when
calling to_tsvector :
"translation failed from server encoding to wchar_t"

My database is UTF8 encoded and the data sent to to_tsvector comes
from a bytea column converted to text with
encode(COLUMN, 'escape').


In 8.1 with tsearch2 it worked perfectly ...


Thanks for you help,

ilan

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-01-07 19:43:30
Subject: Re: VACUUM FULL out of memory
Previous:From: Andrew SullivanDate: 2008-01-07 19:08:00
Subject: Re: Dynamic Partitioning using Segment Visibility Maps

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group