Re: Installing PLPython - Version Problem

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: ray <Ray(dot)Joseph(at)CDICorp(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Installing PLPython - Version Problem
Date: 2009-03-30 04:51:30
Message-ID: 49D04FD2.3040506@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
> reference is resolved but a new one appears for apphelp.dll:

Python 2.5 and Python 2.6 are not binary compatible. This would most
likely cause crashes in PL/Python functions if it worked at all.

> I would really like
> to find out how to get this to install correctly on production
> machines.

Install Python 2.5 .

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Artacus 2009-03-30 06:15:54 Re: How to split timestamps values by 24h slices ?
Previous Message Osvaldo Kussama 2009-03-30 03:39:16 Re: How to split timestamps values by 24h slices ?