postgres.git / summary / log / commit / refs

commit    b7ebda9d8c6f78b3bb31247531d0ef0e64b32a16
Author:   Magnus Hagander <magnus@hagander.net>
Date:     Tue Jan 11 09:04:54 2011 +0000
First released in: 9.1.0

    Reset walsender ps title in the main loop
    
    When in streaming mode we can never get out, so it will never
    be required, but after a base backup (or other operations)
    we can get back to the loop, so the title needs to be cleared.


src/backend/replication/walsender.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c index bd35f31e6fa..559e7349fc5 100644 --- a/src/backend/replication/walsender.c +++ b/src/backend/replication/walsender.c @@ -179,6 +179,8 @@ WalSndHandshake(void) { int firstchar; + set_ps_display("idle", false); + /* Wait for a command to arrive */ firstchar = pq_getbyte(); [parent: 2e36343f8237]