Re: WaitOnLock error - what does this mean?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: WaitOnLock error - what does this mean?
Date: 2000-07-27 18:59:27
Message-ID: 200007271859.OAA27315@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> "Robert B. Easter" <reaster(at)comptechnews(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-07-27 19:21:37 Re: 4 billion record limit?
Previous Message Bruce Momjian 2000-07-27 18:58:18 Re: WaitOnLock error - what does this mean?