Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 63AFBB5DBE2 for ; Tue, 5 Jul 2011 15:54:59 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 71536-02; Tue, 5 Jul 2011 18:54:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E98C9B5DBCA; Tue, 5 Jul 2011 15:54:52 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p65IspaQ022561; Tue, 5 Jul 2011 14:54:51 -0400 (EDT) To: c k cc: pgsql-general@postgresql.org, pgsql-admin Subject: Re: Python UCS4 error In-reply-to: References: Comments: In-reply-to c k message dated "Tue, 05 Jul 2011 22:51:28 +0530" Date: Tue, 05 Jul 2011 14:54:50 -0400 Message-ID: <22560.1309892090@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/25 X-Sequence-Number: 37804 c k writes: > 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. plpython seems to work for me on Fedora 15, so you're going to need to be more specific about how to trigger this error. regards, tom lane