The following bug has been logged online:
Bug reference: 4180
Logged by: bishop
Email address: polimax@mail.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.