pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: A.Bhuvaneswaran <bhuvansql@myrealbox.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: deadlock detected during insert
Date: Thu, 6 Mar 2003 08:01:29 -0800 (PST)
Message-ID: <20030306075909.I79234-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0303061135310.1832-100000@Bhuvan.bksys.co.in>


On Thu, 6 Mar 2003, A.Bhuvaneswaran wrote:

> Hi,
>
> I am using pgsql 7.2.3 on redhat linux 7.3.
>
> I am facing the deadlock detected error in transaction during insert
> command. How can i fix this?

If you're using foreign keys on the table that you're inserting into it's
possible that it's waiting  on another transaction doing an insert to the
same key or on a change to the referenced table.




view thread (7+ messages)  latest in thread

Message-ID: <20030306075909.I79234-100000@megazone23.bigpanda.com>
Permalink:  ../20030306075909.I79234-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20030306075909.I79234-100000@megazone23.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, bhuvansql@myrealbox.com
  Subject: Re: deadlock detected during insert
  In-Reply-To: <20030306075909.I79234-100000@megazone23.bigpanda.com>
  References: <Pine.LNX.4.44.0303061135310.1832-100000@Bhuvan.bksys.co.in> <20030306075909.I79234-100000@megazone23.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox