1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

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.
This commit is contained in:
Magnus Hagander 2011-01-11 10:04:54 +01:00
parent 2e36343f82
commit b7ebda9d8c

View File

@ -179,6 +179,8 @@ WalSndHandshake(void)
{
int firstchar;
set_ps_display("idle", false);
/* Wait for a command to arrive */
firstchar = pq_getbyte();