Re: stupid Q regarding "UPDATE waiting" - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: stupid Q regarding "UPDATE waiting"
Date
Msg-id 20020827140817.O19440@mail.libertyrms.com
Whole thread Raw
In response to stupid Q regarding "UPDATE waiting"  (cm@coretec.at (Christian Mock))
Responses Re: stupid Q regarding "UPDATE waiting"  (cm@coretec.at (Christian Mock))
List pgsql-general
On Tue, Aug 27, 2002 at 07:40:09PM +0200, Christian Mock wrote:
> hello,
>
> I'm doing long-running transactions which insert into tables A and B,
> and when I try to update table C from another session, the update
> hangs until the first transaction is done; the related postgres process
> shows as "UPDATE waiting" in ps.

Do you have referential integrity on any of these?  That's the usual
suspect in these cases.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: brk() function and performance
Next
From: Richard Ray
Date:
Subject: Re: Permissions for system tables