Re: plpython intermittent ImportErrors

From: Chris Angelico <rosuav(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: plpython intermittent ImportErrors
Date: 2013-01-15 21:10:26
Message-ID: CAPTjJmo2Nf9vMbptVe+_4SnTXfEe2SFxO1M9suJOr+o2VOWFXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 15, 2013 at 4:55 AM, Brian Sutherland
<brian(at)vanguardistas(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-01-15 21:32:48 Re: 9.2 upgrade glitch with search_path
Previous Message Bruce Momjian 2013-01-15 21:05:23 Re: 9.2 upgrade glitch with search_path