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

From: Jan Urbański <wulczer(at)wulczer(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u
Date: 2012-08-22 10:02:59
Message-ID: 5034AE53.50801@wulczer.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sachin Srivastava 2012-08-22 11:28:02 Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u
Previous Message Pavel Stehule 2012-08-22 08:40:02 Re: PATCH: psql boolean display