Re: [COMMITTERS] pgsql: Reset 'ps' display just once when resolving VXID conflicts.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [COMMITTERS] pgsql: Reset 'ps' display just once when resolving VXID conflicts.
Дата
Msg-id AANLkTinV+-UX1u6GYrSa3-gxDMUmP4fHdQsKFD9eRpo2@mail.gmail.com
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql: Reset 'ps' display just once when resolving VXID conflicts.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Dec 17, 2010 at 9:52 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <rhaas@postgresql.org> writes:
>> Reset 'ps' display just once when resolving VXID conflicts.
>> This prevents the word "waiting" from briefly disappearing from the ps
>> status line when ResolveRecoveryConflictWithVirtualXIDs begins a new
>> iteration of the outer loop.
>
> I imagine the reason for the original coding was to avoid a useless
> gettimeofday kernel call in the common case that there are no
> conflicting xacts to wait for.  Could we restore that behavior?

Something like the attached?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bug in SignalSomeChildren
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in SignalSomeChildren