Re: Lazy xid assignment V3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Lazy xid assignment V3
Дата
Msg-id 24864.1188848864@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Lazy xid assignment V3  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> Yeah. If we did want to do something more, we could acquire the lock on
> vid conditionally, and use another vid if acquiring the lock fails. But
> I don't think it's necessary.

I was thinking more along the lines of looking through the ProcArray at
backend startup to ensure the sessionID we've chosen is unique, and
choosing another one if not.  But this would expend cycles with the
ProcArray locked, for something that seems exceedingly unlikely to
happen,

            regards, tom lane

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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Lazy xid assignment V3
Следующее
От: Bruce Momjian
Дата:
Сообщение: HOT documentation README