Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u

Поиск
Список
Период
Сортировка
От Jan Urbański
Тема Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u
Дата
Msg-id 5034AE53.50801@wulczer.org
обсуждение исходный текст
Ответ на Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u
Список pgsql-hackers
On 21/08/12 20:13, Josh Berkus wrote:
>
>> No. I get the same backtrace when I try against the 9.1.5 (REL9_1_STABLE)
>> branch.

I have reproduced this on Linux, seems like the fix is to to run the 
postmaster with this env variable exported:

PYTHONHOME=/opt/ActivePython-3.2/

(or wherever you installed ActivePython).

To give credit, I found the decisive clue here: 
http://manojadinesh.blogspot.com/2012/06/fatal-python-error-pyinitialize-unable.html

Cheers,
Jan



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: PATCH: psql boolean display
Следующее
От: Sachin Srivastava
Дата:
Сообщение: Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u