Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b7ebda9

Browse files
committed
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.
1 parent 2e36343 commit b7ebda9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/replication/walsender.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ WalSndHandshake(void)
179179
{
180180
int firstchar;
181181

182+
set_ps_display("idle", false);
183+
182184
/* Wait for a command to arrive */
183185
firstchar = pq_getbyte();
184186

0 commit comments

Comments
 (0)