Python UCS4 error
| От | c k |
|---|---|
| Тема | Python UCS4 error |
| Дата | |
| Msg-id | CAN2Y=uM2u6+RTrBtNOMMqAML3fuaXA8RdtHpiqEerbmY-eudMg@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: Python UCS4 error
|
| Список | 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.
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 по дате отправления: