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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reset 'ps' display just once when resolving VXID conflicts.
Date: 2010-12-17 13:34:32
Message-ID: E1PTaS8-0000Bw-L1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

Along the way, remove some useless pgstat_report_waiting() calls;
the startup process doesn't appear in pg_stat_activity.

Fujii Masao

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=611fed371227f430e71d0ff7fed037f1006b410d

Modified Files
--------------
src/backend/storage/ipc/standby.c | 30 +++++++++++++-----------------
1 files changed, 13 insertions(+), 17 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-12-17 14:52:04 Re: pgsql: Reset 'ps' display just once when resolving VXID conflicts.
Previous Message Robert Haas 2010-12-17 01:58:03 pgsql: Waiting for complete startup is now a well-defined operation.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-12-17 13:35:16 Re: PS display and standby query conflict
Previous Message Robert Haas 2010-12-17 13:08:04 Re: bug in SignalSomeChildren