Re: plpython intermittent ImportErrors - Mailing list pgsql-general

From Chris Angelico
Subject Re: plpython intermittent ImportErrors
Date
Msg-id CAPTjJmo2Nf9vMbptVe+_4SnTXfEe2SFxO1M9suJOr+o2VOWFXg@mail.gmail.com
Whole thread Raw
In response to Re: plpython intermittent ImportErrors  (Brian Sutherland <brian@vanguardistas.net>)
Responses Re: plpython intermittent ImportErrors  (Brian Sutherland <brian@vanguardistas.net>)
List pgsql-general
On Tue, Jan 15, 2013 at 4:55 AM, Brian Sutherland
<brian@vanguardistas.net> wrote:
> I'm guessing that it's some kind of race condition, but I wouldn't know
> where to start looking.

Look for a recursive import (A imports B, B imports A) or multiple
threads trying to import simultaneously - Python sometimes has issues
with that. Quite a few of those issues were sorted out in recent 3.x
versions, but you're using 2.7.

ChrisA


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 9.2 upgrade glitch with search_path
Next
From: Tom Lane
Date:
Subject: Re: 9.2 upgrade glitch with search_path