Re: Installing support for python on windows

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Installing support for python on windows
Date: 2007-01-01 21:24:52
Message-ID: 200701011324.52576.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)comcast(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ragnar 2007-01-01 21:33:30 Re: Problem with index in OR'd expression
Previous Message brian 2007-01-01 21:18:21 Re: spooky refusal to insert