Re: WaitOnLock error - what does this mean? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: WaitOnLock error - what does this mean?
Date
Msg-id 200007271859.OAA27315@candle.pha.pa.us
Whole thread Raw
In response to Re: WaitOnLock error - what does this mean?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> "Robert B. Easter" <reaster@comptechnews.com> writes:
> > Is my database design flawed if this occurs?
>
> The db layout is probably not the issue, but I'd say your scripts are
> flawed.
>
> The usual recipe for avoiding deadlocks is pretty simple: all acquirers
> of locks must grab the locks in the same order.

Of course, reading the lock(l) manual page helps too.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: WaitOnLock error - what does this mean?
Next
From: Bruce Momjian
Date:
Subject: Re: 4 billion record limit?