Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group