From: Kevin Keith <kevinrkeith@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Question regarding blocking locks
Date: Thu, 25 Aug 2005 09:28:13 -0500
Message-ID: <BAY108-F30AE11762B669A5598C02BB9AB0@phx.gbl> (raw)
I have a question regarding blocking locks in the pg database. I ran into a
process which terminated abnormally, and to fully clear the locks it left
behind I had to reboot the system (probably restarting postmaster would have
had the same effect). This was a personal development system so this was no
big deal to reboot it. I would like to know what other options I have so if
this was to occur in a production environment in the future I had a less
drastic measure to take to resolve the issue.
I saw the locks in the pg_locks view (the mode was Exclusivelock),
Can someone point me in the right direction to addressing such a problem
should it occur in the future?
Thanks,
Kevin
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kevinrkeith@hotmail.com
Subject: Re: Question regarding blocking locks
In-Reply-To: <BAY108-F30AE11762B669A5598C02BB9AB0@phx.gbl>
References: <BAY108-F30AE11762B669A5598C02BB9AB0@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox