Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 546C0475AD7 for ; Sun, 15 Dec 2002 00:27:16 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 97EE44758BD for ; Sun, 15 Dec 2002 00:27:15 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id gBF5RHpd005806; Sun, 15 Dec 2002 00:27:18 -0500 (EST) To: "Chris Waters" Cc: pgsql-admin@postgresql.org Subject: Re: Fixing stale locks In-reply-to: References: Comments: In-reply-to "Chris Waters" message dated "Sat, 14 Dec 2002 10:44:04 -0800" Date: Sun, 15 Dec 2002 00:27:17 -0500 Message-ID: <5805.1039930037@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/193 X-Sequence-Number: 6688 "Chris Waters" 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