Re: stupid Q regarding "UPDATE waiting"

Поиск
Список
Период
Сортировка
От cm@coretec.at (Christian Mock)
Тема Re: stupid Q regarding "UPDATE waiting"
Дата
Msg-id 20020828103821.GA11523@notemock.coretec.at
обсуждение исходный текст
Ответ на Re: stupid Q regarding "UPDATE waiting"  (Andrew Sullivan <andrew@libertyrms.info>)
Ответы Re: stupid Q regarding "UPDATE waiting"  (Andrew Sullivan <andrew@libertyrms.info>)
Re: stupid Q regarding "UPDATE waiting"  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
On Tue, Aug 27, 2002 at 02:08:17PM -0400, Andrew Sullivan wrote:

> > 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.

I see. One of the tables that are inserted into in the long-running
transaction references the table that gets updated in the "UPDATE waiting"
transaction. But the referencing column is always NULL on import.

Does that mean that there's a table-level lock? Can I get around this?

regards,

cm.
--
Christian Mock                          Wiedner Hauptstrasse 15
Senior Security Engineer                1040 Wien
CoreTEC IT Security Solutions GmbH      +43-1-5037273

В списке pgsql-general по дате отправления:

Предыдущее
От: Chris Lee
Дата:
Сообщение: Data Type
Следующее
От: "Mario Weilguni"
Дата:
Сообщение: Re: Data files became huge with no apparent reason