The following bug has been logged online:
Bug reference: 4180
Logged by: bishop
Email address: polimax(at)mail(dot)ru
PostgreSQL version: 8.3.1
Operating system: Vista Home Premium
Description: PANIC while PQExec on Client with differen locale from
database
Details:
The code
PQsetClientEncoding(conn,"WIN1251");
res = PQexec(conn, "INSERT INTO \"table_name\" (\"name\") VALUES
('test');");
return such error message (sorry for localised part of message)
PANIC: ERRORDATA_STACK_SIZE exceeded
,
.
Server encoding UTF8, database encoding UTF8 client encoding WIN1251
The previouse version 8.2 work well with this code.