pgsql: Reset 'ps' display just once when resolving VXID conflicts. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Reset 'ps' display just once when resolving VXID conflicts.
Date
Msg-id E1PTaS8-0000Bw-L1@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Reset 'ps' display just once when resolving VXID conflicts.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Waiting for complete startup is now a well-defined operation.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Reset 'ps' display just once when resolving VXID conflicts.