Re: LockObject patch
| От | Tom Lane |
|---|---|
| Тема | Re: LockObject patch |
| Дата | |
| Msg-id | 27626.1103573371@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | LockObject patch (Alvaro Herrera <alvherre@dcc.uchile.cl>) |
| Ответы |
Re: LockObject patch
|
| Список | pgsql-patches |
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> Here is the LockObject patch I was able to come up with. It's almost
> the same patch that Rod Taylor published two years ago; basically, it
> expands LOCKTAG with a ClassId attribute, and provides a LockObject
> method to allow locking arbitrary objects.
I wonder whether it wouldn't be possible to clean up the "XactLockTable"
kluge with this --- ie, instead of denoting transaction locks by a
special relation ID, denote them by a special class ID. That might just
move the kluginess from one place to another, but it's worth thinking about.
regards, tom lane
В списке pgsql-patches по дате отправления: