Re: Question about DEADLOCK

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Savita <savita(at)india(dot)hp(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Question about DEADLOCK
Date: 2002-11-22 15:35:47
Message-ID: 20021122073226.V11910-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


On Fri, 22 Nov 2002, Savita wrote:

> I wold like to know where to get LOCK manual/reference.

Well, there's the entry for the LOCK command, but I don't think
that's what you want, what exactly are you looking for?

> And what is ther error number it will return when this error will come.Is there
> any work around this.HOw do I avoid this situation.

I don't know of an error number, but the string will will have that
deadlock detected in it. :) As for a workaround, since we don't know
what's causing it, we can't really give you a workaround.

What's the schema of the table you're transferring to and what else
was going on in the server at the time you got the deadlock? I'd
guess it was a foreign key, but that only applies if you've got
foreign keys, for example.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2002-11-22 15:39:11 Re: View and primary key
Previous Message Felipe Schnack 2002-11-22 15:29:17 Re: EXECUTE problems

Browse pgsql-hackers by date

  From Date Subject
Next Message Masaru Sugawara 2002-11-22 15:50:50 connectby with schema
Previous Message Evgen Potemkin 2002-11-22 10:57:40 Hirarchical queries a la Oracle. Patch.