From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Waters <chris.waters@networkchemistry.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Fixing stale locks
Date: Sun, 15 Dec 2002 00:27:17 -0500
Message-ID: <5805.1039930037@sss.pgh.pa.us> (raw)
In-Reply-To: <atfu21$2qhv$1@news.hub.org>
References: <atfu21$2qhv$1@news.hub.org>
"Chris Waters" <chris.waters@networkchemistry.com> writes:
> My first instinct was a stale lock so I look in pg_locks and sure enough a
> lock exists. Now the question is, how do I free this lock? This is just a
> single machine installation and there are no processes running that could
> hold the lock.
Oh? Exactly what process does pg_locks show is holding the lock then?
> How do people normally deal with this type of problem?
Either you're misdescribing it, or it's not a normal type of problem.
regards, tom lane
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: tgl@sss.pgh.pa.us, chris.waters@networkchemistry.com
Subject: Re: Fixing stale locks
In-Reply-To: <5805.1039930037@sss.pgh.pa.us>
References: <atfu21$2qhv$1@news.hub.org> <5805.1039930037@sss.pgh.pa.us>
* 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