Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 33AF3B5DBDC for ; Wed, 6 Jul 2011 00:06:23 -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 69953-04 for ; Wed, 6 Jul 2011 03:06:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id C9346B5DBDB for ; Wed, 6 Jul 2011 00:06:16 -0300 (ADT) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id p66368E23798 for ; Tue, 5 Jul 2011 20:06:08 -0700 Message-ID: <4E13D120.4020801@hogranch.com> Date: Tue, 05 Jul 2011 20:06:08 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: [ADMIN] Python UCS4 error References: <22560.1309892090@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/120 X-Sequence-Number: 177499 On 07/05/11 7:34 PM, c k wrote: > I have default python 2.7.1 installed along with fedora15. Then=20 > installed postgresql from binary installers. This creates the=20 > plpython.so, plpython2.so and plpython3.so in lib/postgresql directory = > under postgresql installation. When I go for creating a new language=20 > plpython, it gives me some error regarding python=C5=9B version. By def= ault=20 > it is compiled with 2.6 and I have 2.7... the first statement and last seem in contradiction. when you say=20 'default python 2.7.1 installed', do you mean the default python thats=20 shipped with Fedora 15 is 2.7 ? if Fedora 15 ships with Python 2.7, then it appears the 'postgresql from = binary installers' you installed was not built for Fedora 15. Which=20 'binary installers' were these? The default postgresql 9.0 that is=20 bundled with Fedora, or something else? --=20 john r pierce N 37, W 122 santa cruz ca mid-left coast