1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

Don't set application_name in logical replication workers

This was bothering some people because it's not the intended use of
application_name and it makes the default view of pg_stat_activity
bulky.
This commit is contained in:
Peter Eisentraut
2017-06-05 22:16:02 -04:00
parent 9907b55ceb
commit 41a21bf9b4
2 changed files with 0 additions and 8 deletions

View File

@ -1488,10 +1488,6 @@ ApplyWorkerMain(Datum main_arg)
MyLogicalRepWorker->last_send_time = MyLogicalRepWorker->last_recv_time =
MyLogicalRepWorker->reply_time = GetCurrentTimestamp();
/* Make it easy to identify our processes. */
SetConfigOption("application_name", MyBgworkerEntry->bgw_name,
PGC_USERSET, PGC_S_SESSION);
/* Load the libpq-specific functions */
load_file("libpqwalreceiver", false);