Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-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

pgsql-novice by date

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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group