Re: plpythonu and PYTHONPATH/sys.path - Mailing list pgsql-general

From Richard Huxton
Subject Re: plpythonu and PYTHONPATH/sys.path
Date
Msg-id 45ED609B.6070804@archonet.com
Whole thread Raw
In response to plpythonu and PYTHONPATH/sys.path  (Korin Richmond <korin@cstr.ed.ac.uk>)
Responses Re: plpythonu and PYTHONPATH/sys.path  (Korin Richmond <korin@cstr.ed.ac.uk>)
List pgsql-general
Korin Richmond wrote:
> Hi,
>
> I want to use python modules I have written in plpythonu.  I can load
> these modules in functions within postgres if they are installed in the
> "official" python module directories (e.g. /blah/site-packages etc.)
>
> However, I want to use modules which are in my home file space, but I
> can't get this to work.

Does user "postgres" have access to your home directory?

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Korin Richmond
Date:
Subject: plpythonu and PYTHONPATH/sys.path
Next
From: "senges"
Date:
Subject: Re: Re : Re : COPY form stdin and file