Re: Installing support for python on windows - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Installing support for python on windows
Date
Msg-id 200701011324.52576.aklaver@comcast.net
Whole thread Raw
In response to Re: Installing support for python on windows  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Installing support for python on windows
List pgsql-general
On Monday 01 January 2007 11:14 am, Magnus Hagander wrote:
> novnov wrote:
> > This is so much more difficult than I imagined it could be. I've added
> > the main python dir and the lib dir to my path and nothing has changed. I
> > may be able to figure out how to use the depends tool, so far it looks
> > pretty obscure to a newb.
>
> It should be easy enough - just run "depends plpython.dll" in the
> directory where plpython is.
>
> Two things to verify first:
> 1) Verify that you added the directories to the system path, and not
> your personal path
> 2) Did you restart the server after adding it? Needs to be done for
> windows to pick up the change in environment.
>
>
> //Magnus
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
I broke down and installed Postgres on Windows.  I had the same problem with
installing plpython until I did as Magnus suggested, rebooted Windows. I then
ran createlang -d template1 -U postgres plpythonu to install it into the
template1 database and it succeeded.
--
Adrian Klaver
aklaver@comcast.net

pgsql-general by date:

Previous
From: brian
Date:
Subject: Re: spooky refusal to insert
Next
From: Ragnar
Date:
Subject: Re: Problem with index in OR'd expression