Robert Haas <rhaas(at)postgresql(dot)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
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2010-12-17 15:13:54|
|Subject: Re: patch: remove redundant code from pl_exec.c |
|Previous:||From: Andrew Dunstan||Date: 2010-12-17 14:45:56|
|Subject: Re: clang and LLVM|
pgsql-committers by date
|Next:||From: Robert Haas||Date: 2010-12-17 16:13:51|
|Subject: Re: [COMMITTERS] pgsql: Reset 'ps' display just once when resolving
|Previous:||From: Robert Haas||Date: 2010-12-17 13:34:32|
|Subject: pgsql: Reset 'ps' display just once when resolving VXID conflicts.|