X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1879752AA8; Sun, 6 Mar 2005 19:26:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41164-02; Sun, 6 Mar 2005 19:26:39 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id BA70955CC9; Sun, 6 Mar 2005 19:26:37 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j26JQXa1008538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 6 Mar 2005 12:26:35 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j26JQX1L008944; Sun, 6 Mar 2005 12:26:33 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j26JQWBN008943; Sun, 6 Mar 2005 12:26:32 -0700 (MST) (envelope-from mfuhr) Date: Sun, 6 Mar 2005 12:26:32 -0700 From: Michael Fuhr To: Wolfgang Keller Cc: pgsql-novice@postgresql.org, pgsql-interfaces@postgresql.org Subject: Re: [NOVICE] Python modules for PL/Python? Message-ID: <20050306192632.GB8834@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/19 X-Sequence-Number: 5348 On Sun, Mar 06, 2005 at 07:56:46PM +0100, Wolfgang Keller wrote: > potentially dumb question: if I want to use non-standard Python modules > within PL/Python, I guess I have to recompile something (plpython.dll in > the /lib folder)? Are you having trouble using a module from a PL/Python function? If so, then please post a simple function and the error you get when you try to use it, or describe what happens if there's no error. > If I would like to avoid re-doing this over and over again in the future, > is there a way to make postgresql use the "standard" installation of Python > which I already have on my system? What OS and versions of PostgreSQL and Python are you using? -- Michael Fuhr http://www.fuhr.org/~mfuhr/