Re: Installing PLPython - Version Problem

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Installing PLPython - Version Problem
Дата
Msg-id 49D04FD2.3040506@postnewspapers.com.au
обсуждение исходный текст
Ответ на Installing PLPython - Version Problem  (ray <Ray.Joseph@CDICorp.com>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: running two servers on one machine
Следующее
От: Osvaldo Kussama
Дата:
Сообщение: Re: How to split timestamps values by 24h slices ?