Re: plpython issue with Win64 (PG 9.2)
Jan Urbański <wulczer@wulczer.org>
From: Jan Urbański <wulczer@wulczer.org>
To: Asif Naeem <asif.naeem@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org
Date: 2012-07-03T15:45:14Z
Lists: pgsql-hackers
On 29/06/12 00:36, Jan Urbański wrote: > On 27/06/12 13:57, Jan Urbański wrote: >> On 27/06/12 11:51, Asif Naeem wrote: >>> Hi, >>> >>> On Windows 7 64bit, plpython is causing server crash with the following >>> test case i.e. > So: I'd add code to translate WINxxx into CPxxx when choosing the Python > to use, change PLy_elog to elog in PLyUnicode_Bytes and leave the > SQL_ASCII case alone, as there were no complaints and people using > SQL_ASCII are asking for it anyway. Since no one commented, I'll produce a patch to that effect. I believe this should go into 9.2 given that otherwise PL/Python will basically crash any database using the CP12xx encoding. Cheers, Jan