Re: [NOVICE] Python modules for PL/Python?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Wolfgang Keller <wolfgang(dot)keller(dot)nospam(at)gmx(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [NOVICE] Python modules for PL/Python?
Date: 2005-03-06 19:26:32
Message-ID: 20050306192632.GB8834@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-novice

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/

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Mike Mills 2005-03-06 20:53:39 libpq linker problems
Previous Message Wolfgang Keller 2005-03-06 18:56:46 Python modules for PL/Python?

Browse pgsql-novice by date

  From Date Subject
Next Message Hagop Hagopian 2005-03-06 19:34:01 Re: [CYGWIN] PostgreSQL installation problem on Windows XP Home
Previous Message Wolfgang Keller 2005-03-06 18:56:46 Python modules for PL/Python?