Re: Bug #836: Deadlock during insert w/o autocommit

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: <postgres(at)bilteks(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Bug #836: Deadlock during insert w/o autocommit
Date: 2002-12-05 03:46:21
Message-ID: 20021204194401.E94137-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


On Wed, 4 Dec 2002 pgsql-bugs(at)postgresql(dot)org wrote:

> Alexander Kirpa (postgres(at)bilteks(dot)com) reports a bug with a severity of 1
> The lower the number the more severe it is.
>
> Short Description
> Deadlock during insert w/o autocommit
>
> Long Description

> Deadlock during insert w/o autocommit in 2 tables with check to
> table3. Environment Postgres 7.2.3(cygwin) & 7.3(freebsd) Perl.
> Testing local (freebsd) and over lan in both direction (freebsd
> client, w2k server and w2k client, freeBSD server). Result - freeze
> client, server don't make (psql) some operation related used tables.

Are you sure you're getting deadlock and not simply the second session
waiting on the first? The latter is guaranteed to happen in current
versions with a structure like the one you have as the second is waiting
for the first to complete. If you want details on why and what's being
done, there'll be a bunch of messages in the archives about the subject.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2002-12-05 09:49:59 GEQO Triggers Server Crash
Previous Message pgsql-bugs 2002-12-05 02:41:17 Bug #836: Deadlock during insert w/o autocommit