Re: Server error and deadlocks

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: "Orr, Steve" <sorr(at)rightnow(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Server error and deadlocks
Date: 2003-01-14 01:16:20
Message-ID: 20030113171438.P62360-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 13 Jan 2003, Orr, Steve wrote:

> Finally, there are LOTS of deadlocks and I'm thinking it's because they are
> not doing "SELECT ... FOR UPDATE" or are explictly locking tables. Or they
> are constantly updating the same rows. It seems our duhvelopers need to get

Well, if you're using foreign keys, you might be running into a deficiency
in the foreign key implementation. If that is it, then currently a
partial workaround may be to make the constraints deferred which lessens
the length of the lock, but doesn't remove the base deadlock possibility.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2003-01-14 01:51:24 Re: PostgreSQL on Windows
Previous Message Orr, Steve 2003-01-14 01:02:01 Server error and deadlocks