Re: [GENERAL] Installing PLPython - Version Problem

2009-03-30 Thread Craig Ringer
ray wrote: > I am sorry for not providing a clear description of my problem. I > want to us Python 2.6 but the PLPython seems to me looking for 2.5 > which is not on my machine. Is there a way to have PostgreSQL work > with Python 2.6? Recompile PostgreSQL, or at least the PL/Python extension,

Re: [GENERAL] Installing PLPython - Version Problem

2009-03-30 Thread ray
On Mar 30, 2:55 am, dp...@pgadmin.org (Dave Page) wrote: > On Mon, Mar 30, 2009 at 1:51 AM, ray wrote: > > I am trying to get Python 2.6 and PostgreSQL 8.3 to work together > > under Windows 2000. > > > When I try to add Python to PostgreSQL via: > > createlang plpythonu dbname > > > But when doin

Re: [GENERAL] Installing PLPython - Version Problem

2009-03-30 Thread Dave Page
On Mon, Mar 30, 2009 at 2:52 PM, Joseph, Ray wrote: > Dave, > > I am sorry that I was not clear.  I want to use 2.6 but the stack seems to > direct me to 2.5. That's exactly what I understood from your email - however my fingers weren't working properly at that time in the morning :-(. What I wa

Re: [GENERAL] Installing PLPython - Version Problem

2009-03-30 Thread Dave Page
On Mon, Mar 30, 2009 at 1:51 AM, ray wrote: > I am trying to get Python 2.6 and PostgreSQL 8.3 to work together > under Windows 2000. > > When I try to add Python to PostgreSQL via: > createlang plpythonu dbname > > But when doing so, I get an error: > createlang: language installation failed: ERR

Re: [GENERAL] Installing PLPython - Version Problem

2009-03-29 Thread Craig Ringer
ray wrote: > 1) The first question is how do I get this stack to look for the 2.6 > version? Without rebuilding PL/Python, you can't. Python 2.5 and Python 2.6 are not binary compatible. You will need to install Python 2.5. > If I make a copy of python26.dll and rename it python25.dll, that > r

[GENERAL] Installing PLPython - Version Problem

2009-03-29 Thread ray
I am trying to get Python 2.6 and PostgreSQL 8.3 to work together under Windows 2000. When I try to add Python to PostgreSQL via: createlang plpythonu dbname But when doing so, I get an error: createlang: language installation failed: ERROR: could not load library "C:/Program Files/PostgreSQL/8.