Re: LockObject patch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: LockObject patch
Дата
Msg-id 20041220034036.GA15182@dcc.uchile.cl
обсуждение исходный текст
Ответ на LockObject patch  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: LockObject patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Sun, Dec 19, 2004 at 11:40:40PM -0300, Alvaro Herrera wrote:

Hackers,

> 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 omitted the uses of the
> new functionality.

I just noticed that this uses the current database Id in the LOCKTAG ...
I think I'll just make it use InvalidOid, as we will only use it to lock
shared objects by now.  It can be changed when (and if) we need
different semantics in the future.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
Tulio: oh, para qué servirá este boton, Juan Carlos?
Policarpo: No, aléjense, no toquen la consola!
Juan Carlos: Lo apretaré una y otra vez.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: LockObject patch
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: [PERFORM] [pgsql-hackers-win32] scalability issues on win32