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 Haas | Date: 2010-12-17 13:35:16 |
| Subject: Re: PS display and standby query conflict |
| Previous: | From: Robert Haas | Date: 2010-12-17 13:08:04 |
| Subject: Re: bug in SignalSomeChildren |
pgsql-committers by date
| Next: | From: Tom Lane | Date: 2010-12-17 14:52:04 |
| Subject: Re: pgsql: Reset 'ps' display just once when resolving VXID conflicts. |
| Previous: | From: Robert Haas | Date: 2010-12-17 01:58:03 |
| Subject: pgsql: Waiting for complete startup is now a well-defined operation. |