Re: Python Driver - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Python Driver
Date
Msg-id 20050211212032.GA33323@winnie.fuhr.org
Whole thread Raw
In response to Re: Python Driver  (Alex Turner <armtuk@gmail.com>)
Responses Re: Python Driver  (Alex Turner <armtuk@gmail.com>)
Re: Python Driver  (Alex Turner <armtuk@gmail.com>)
List pgsql-general
On Fri, Feb 11, 2005 at 04:05:03PM -0500, Alex Turner wrote:
>
> I am now having trouble with psycopg locking up my database somehow.
> It's almost like there are outstanding locks on objects in the database
> that are preventing other threads operating.

Do you mean the Python script itself is locked up, or just that
locks in the database are causing certain transactions to block?
Have you looked at pg_locks?  Are locks being held by idle uncommitted
transactions?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Alex Turner
Date:
Subject: Error from database
Next
From: Alex Turner
Date:
Subject: Re: Python Driver