Re: Need help understanding pg_locks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Need help understanding pg_locks
Дата
Msg-id 12626.1310397083@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Need help understanding pg_locks  (Florian Pflug <fgp@phlo.org>)
Ответы Re: Need help understanding pg_locks
Re: Need help understanding pg_locks
Список pgsql-hackers
Florian Pflug <fgp@phlo.org> writes:
> On Jul11, 2011, at 05:47 , Bruce Momjian wrote:
>> Thank you.  I think my confusion is that virtualtransaction is the lock
>> holder/waiter, and the other two are actual locks.  The attached doc
>> patch clarifies that.  I had actually realized this a few weeks ago and
>> forgot, meaning this is pretty confusing.

> For consistency, I guess it should say "lock object" instead of simply
> "object" the description of all the columns up to (and including)
> "objsubid", not only those of "virtualxid" and "transactionid".

Yeah, I think this patch is going in the wrong direction altogether.
It would be better to modify the description of virtualtransaction
and pid to say that those are the "locking" entity.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: txid_current() forces a real xid
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Full GUID support