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

Re: BUG #3766: tsearch2 index creation error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas Haegi" <me(at)alternize(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3766: tsearch2 index creation error
Date: 2007-11-21 03:40:43
Message-ID: 22403.1195616443@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Thomas Haegi" <me(at)alternize(dot)com> writes:
> Operating system:   Windows 2003

> CREATE INDEX posts_fts_idx ON forum.posts USING gin(to_tsvector('english',
> p_msg_clean));
> ERROR:  translation from wchar_t to server encoding failed: No error

Hmm.  That error message is close to some code that is specific to the
Windows-and-UTF8 case, which might explain why I don't see it.

Can any Windows hackers check into whether the WIN32 coding in
wchar2char() and char2wchar() in ts_locale.c is sane?

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2007-11-21 03:45:25
Subject: Re: BUG #3767: tsearch2 index creation fatal crash
Previous:From: Thomas H.Date: 2007-11-21 02:54:23
Subject: Re: BUG #3767: tsearch2 index creation fatal crash

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