Laurent ROCHE a écrit :
> Thanks Guillaume, for having a look again.
>
> Last time, you looked: I had 1.6.1 and you were using 1.6.2 (kind of beta: from the source), and we thought it will
besolved with the new version.
> But it's not !
>
> I have done a new test: I create a new db with UTF8, and another with LATIN1.
> If I type an incorrect command in a SQL editor connected to the LATIN1 db, I get the error message, and when
connectedto the UTF8 db I get the error message only with the number.
>
OK, I think it would be really helpful to get all informations.
I tried with a 8.2.1 postgresql server that I configured with ./configure --prefix=/home/guillaume/pgsql-8.2.1
--enable-nls
I then compiled and installed it make && make install
I initialized the cluster : initdb -D /home/guillaume/pgsql-8.2.1/data
and created two databases : createdb -E LATIN1 dblatin1 createdb -E UTF8 dbutf8
When I try to execute a wrong query (select * from jkdqlsdjkfhqklsdjh),
I always have the error number and the error string.
Can you give us more details ? for example, which options did you use to
initialize the cluster ?
Regards.
--
Guillaume.
<!-- http://abs.traduc.org/ http://lfs.traduc.org/ http://docs.postgresqlfr.org/ -->