Re: Table locks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Table locks
Дата
Msg-id 26135.971116863@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Table locks  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Table locks  (Bruce Momjian <pgman@candle.pha.pa.us>)
Lock problem on Solaris  (Travis Bauer <trbauer@cs.indiana.edu>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> No spinlock.  I was going to just grab a snapshot as it existed.  If it
> changes while I am grabbing it, I just try again.

Unless, of course, you follow a now-dangling pointer and cause a backend
crash.  But even without that, how do you know whether you grabbed a
self-consistent snapshot or not?

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Table locks
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Win98