> "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