Python UCS4 error - Mailing list pgsql-admin

From c k
Subject Python UCS4 error
Date
Msg-id CAN2Y=uM2u6+RTrBtNOMMqAML3fuaXA8RdtHpiqEerbmY-eudMg@mail.gmail.com
Whole thread Raw
Responses Re: Python UCS4 error
List pgsql-admin
Dear All,
I updated my development machine with Fedora 15 and as there is python 2.7. I have also migrated my few postgresql databases. While creating plpython in one database, I got the following error undefined symbol PyUnicodeUCS4_AsEncodedString.
Then I recompiled source code and got a plpython.so compiled for python 2.7 (default python comes with fedora15) and replaced original with this one. Restarted postgresql and still same error occurs.
When checked for where a python is with ucs4  or ucs2 using following script, it says it is ucs4.
>>> import sys
>>> print sys.maxunicode
1114111

How to solve this error?
Waiting for your help !

Regards,

C P Kulkarni

pgsql-admin by date:

Previous
From: jtkells@verizon.net
Date:
Subject: Problem retrieving large records (bytea) data from a table
Next
From: Tom Lane
Date:
Subject: Re: Python UCS4 error