Re: Resource Owner reassign Locks

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Resource Owner reassign Locks
Дата
Msg-id
20150825183807.GC19326@awork2.anarazel.de
Ответ на
Список
Дерево обсуждения
Resource Owner reassign Locks Jeff Janes <jeff.janes@gmail.com>
Re: Resource Owner reassign Locks Amit Kapila <amit.kapila@huawei.com>
Re: Resource Owner reassign Locks Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Resource Owner reassign Locks Amit Kapila <amit.kapila@huawei.com>
Re: Resource Owner reassign Locks Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Resource Owner reassign Locks Jeff Janes <jeff.janes@gmail.com>
Re: Resource Owner reassign Locks Jeff Janes <jeff.janes@gmail.com>
Re: Resource Owner reassign Locks Andres Freund <andres@anarazel.de>
Re: Resource Owner reassign Locks Andres Freund <andres@anarazel.de>
Re: Resource Owner reassign Locks Jeff Janes <jeff.janes@gmail.com>
Re: Resource Owner reassign Locks Andres Freund <andres@anarazel.de>
Re: Resource Owner reassign Locks Michael Paquier <michael.paquier@gmail.com>
Re: Resource Owner reassign Locks Jeff Janes <jeff.janes@gmail.com>
Re: Resource Owner reassign Locks Tom Lane <tgl@sss.pgh.pa.us>
Re: Resource Owner reassign Locks Andres Freund <andres@anarazel.de>
Re: Resource Owner reassign Locks Tom Lane <tgl@sss.pgh.pa.us>
Re: Resource Owner reassign Locks Andres Freund <andres@anarazel.de>
Re: Resource Owner reassign Locks Tom Lane <tgl@sss.pgh.pa.us>
Re: Resource Owner reassign Locks Andres Freund <andres@anarazel.de>
Re: Resource Owner reassign Locks Tom Lane <tgl@sss.pgh.pa.us>
Re: Resource Owner reassign Locks Tom Lane <tgl@sss.pgh.pa.us>
On 2015-08-25 14:33:25 -0400, Tom Lane wrote:
> (IOW, yeah, certainly third-party code could create a new *instance* of
> the ResourceOwner data structure, but they would not have any knowledge of
> what's inside unless they had hacked the core code.)

What I was thinking is that somebody created a new resowner, did
something, and then called LockReleaseCurrentOwner() (because no locks
are needed anymore), or LockReassignCurrentOwner() (say you want to
abort a subtransaction, but do *not* want the locks to be released).

Anyway, I slightly lean towards having wrappers, you strongly against,
so that makes it an easy call.


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ