projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e36343
)
Reset walsender ps title in the main loop
author
Magnus Hagander
Tue, 11 Jan 2011 09:04:54 +0000
(10:04 +0100)
committer
Magnus Hagander
Tue, 11 Jan 2011 09:04:54 +0000
(10:04 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/replication/walsender.c
b/src/backend/replication/walsender.c
index bd35f31e6fa1f05a8a15200d0e1f2e5f1bf14cb6..559e7349fc59c60de457b69124c57e22d1cd2364 100644
(file)
--- 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();