Re: WaitOnLock error - what does this mean?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: WaitOnLock error - what does this mean?
Дата
Msg-id 200007271859.OAA27315@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: WaitOnLock error - what does this mean?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: WaitOnLock error - what does this mean?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 4 billion record limit?