Skip site navigation (1) Skip section navigation (2)

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

From: "bishop" <polimax(at)mail(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4180: PANIC while PQExec on Client with differen locale from database
Date: 2008-05-17 22:24:22
Message-ID: 200805172224.m4HMOMax036178@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
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.

Responses

pgsql-bugs by date

Next:From: Bob RossiDate: 2008-05-18 01:02:35
Subject: Re: mingw compile error
Previous:From: Christian.StroblDate: 2008-05-17 20:05:19
Subject: WG: [GENERAL] reproducible database crash with simple sql command on postgres 8.3.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group