Re: BUG #4180: PANIC while PQExec on Client with differen locale from database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "bishop" <polimax(at)mail(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4180: PANIC while PQExec on Client with differen locale from database
Date: 2008-05-18 20:17:22
Message-ID: 7481.1211141842@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"bishop" <polimax(at)mail(dot)ru> writes:
> PQsetClientEncoding(conn,"WIN1251");
> res = PQexec(conn, "INSERT INTO \"table_name\" (\"name\") VALUES
> ('test');");

What do you get, exactly, if you do the same command but with
client_encoding = UTF8? I suppose this must be a problem with
failing to convert the encoding of an error message, but without
knowing what the original error message is, it's hard to investigate.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-05-18 21:01:42 Re: BUG #4182: Enum in Foreign Key broken
Previous Message Rod Taylor 2008-05-18 19:05:46 BUG #4182: Enum in Foreign Key broken