Releasing locks

From: GH <grasshacker(at)over-yonder(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Releasing locks
Date: 2000-11-25 21:29:35
Message-ID: 20001125152935.C39026@over-yonder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Is there some way for Postgres to recover from "frozen" locks?
Ex:

PHP opens a persistent connection to the database.
Script queries and recieves a lock.
Something happens so that the lock is not released.

Other scripts are forced to wait for locks.

How can I make it so that the corrupted script does not prevent
other scripts from receiving locks?
Is there some way to release the "bad" lock?

Thanks.

gh

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2000-11-25 22:53:31 Re: Releasing locks
Previous Message Tom Lane 2000-11-25 16:50:46 Re: Strange error with Pl/PgSQL