Re: LockObject patch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: LockObject patch
Дата
Msg-id 20041220204800.GA5287@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: LockObject patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: LockObject patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: LockObject patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Mon, Dec 20, 2004 at 03:09:31PM -0500, Tom Lane wrote:
> 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.

How about locking the special class InvalidOid?  We don't use that ATM
AFAICS.

Anything else would require having a special relation registered, which
is where we are now ...

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"La rebeldía es la virtud original del hombre" (Arthur Schopenhauer)

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: LockObject patch
Следующее
От: Guillaume LELARGE
Дата:
Сообщение: Update for french pg_resetxlog.po file