Re: [HACKERS] Better error reporting for tsearch config file problems

2008-06-18 Thread Alvaro Herrera
Translators: refer to http://archives.postgresql.org/message-id/27688.1213803578%40sss.pgh.pa.us Tom Lane wrote: > This should be a simple, easily tested patch, and I am tempted to > propose back-patching it into 8.3, on the grounds that people need > help now --- by the time 8.4 is out they'll a

[HACKERS] Better error reporting for tsearch config file problems

2008-06-18 Thread Tom Lane
I'm not totally sure that bug #4253 reflects a problem in the user's text search stopword files, but I'm suspicious. If I deliberately introduce an encoding error into italian.stop, I get regression=# select to_tsvector('italian','prova'); ERROR: invalid byte sequence for encoding "UTF8": 0xc30a