Re: BUG #4180: PANIC while PQExec on Client with differen locale from database - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4180: PANIC while PQExec on Client with differen locale from database
Date
Msg-id 7481.1211141842@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4180: PANIC while PQExec on Client with differen locale from database  ("bishop" <polimax@mail.ru>)
List pgsql-bugs
"bishop" <polimax@mail.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

pgsql-bugs by date:

Previous
From: "Dmitriy"
Date:
Subject: BUG #4181: Service PostgreSQL database server 8.2 failed to start
Next
From: "Rod Taylor"
Date:
Subject: BUG #4182: Enum in Foreign Key broken