Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL 7.4.10 hanging on delete

From: Jonathan Parkin <jonathan(dot)parkin(at)legendplc(dot)com>
To: Pandurangan R S <pandurangan(dot)r(dot)s(at)gmail(dot)com>
Cc: PostgreSQL Admin Mailing List <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PostgreSQL 7.4.10 hanging on delete
Date: 2005-12-21 10:10:05
Message-ID: 1135159805.27920.70.camel@jparkin.local (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
There are no conflicting locks; this occurs both concurrently with other
processes (dealing with other rows) and when the only two processes with
locks on the database are the one that hangs and the one I'm using to
examine pg_locks.

On Wed, 2005-12-21 at 08:02, Pandurangan R S wrote:
> When the delete statements hangs, look into the pg_locks table, to
> check if the delete statement is waiting because it has conflict with
> rows locked by other transactions.
> On 20 Dec 2005 16:21:53 +0000, Jonathan Parkin
> <jonathan(dot)parkin(at)legendplc(dot)com> wrote:
> > I have a reasonably large, live, system-critical database.  A perl
> > script on another machine connects and issues a sequence of commands in
> > a transaction, the last of which is a delete.  The delete never returns
> > a response, and the connection never times out.  The postgres process
> > handling the delete is in a scheduled state, but stracing it produces no
> > output at all.

[Remainder of original message cut for brevity]

Best Regards

Jonathan Parkin

Legend Communications plc
T: 0844 390 2049
F: 0844 390 2001
E: jonathan(dot)parkin(at)legendplc(dot)com

The information in this message is confidential and may be legally
privileged. Unauthorised disclosure, copying or distribution, either
whole or in part; or action taken in reliance on its content is
prohibited. If you are not the intended recipient, please notify Legend
Communications immediately.

In response to

pgsql-admin by date

Next:From: Jonathan ParkinDate: 2005-12-21 10:15:36
Subject: Re: PostgreSQL 7.4.10 hanging on delete
Previous:From: Armel HERVEDate: 2005-12-21 10:01:04
Subject: Re: Custom types for a Windows server

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group