From b7ebda9d8c6f78b3bb31247531d0ef0e64b32a16 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 11 Jan 2011 10:04:54 +0100 Subject: [PATCH] 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 bd35f31e6f..559e7349fc 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(); -- 2.40.0