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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Reset 'ps' display just once when resolving VXID conflicts.
Дата
Msg-id 29167.1292597524@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Reset 'ps' display just once when resolving VXID conflicts.  (Robert Haas <rhaas@postgresql.org>)
Список pgsql-committers
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?

            regards, tom lane

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Reset 'ps' display just once when resolving VXID conflicts.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Try to save a kernel call in ResolveRecoveryConflictWithVirtualX