Re: Can pessimistic locking be emulated?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can pessimistic locking be emulated?
Дата
Msg-id 12989.1046367474@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Can pessimistic locking be emulated?  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Список pgsql-hackers
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> In my case, being able to view outstanding row level locks would be
> enormously useful.

The only way to do that would be to grovel through every table in the
database, looking for rows that are marked locked by transactions that
are still alive.

> A curious thought struck me: does the pg_lock view follow the mvcc
> rules,

No, not really.  If it did I don't think it'd be real useful ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Free-space-map management thoughts
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Can pessimistic locking be emulated?