diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-06-05 22:16:02 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-06-05 22:16:02 -0400 |
commit | 41a21bf9b4a2449eddc8ea2b29597e835eea9bfd (patch) | |
tree | 0620bf3efefd890e7f9748ca87240ad779df43d7 /src/backend/replication/logical/launcher.c | |
parent | 9907b55ceb17f55bb508a1f24027a57530d84442 (diff) | |
download | postgresql-41a21bf9b4a2449eddc8ea2b29597e835eea9bfd.tar.gz postgresql-41a21bf9b4a2449eddc8ea2b29597e835eea9bfd.zip |
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.
Diffstat (limited to 'src/backend/replication/logical/launcher.c')
-rw-r--r-- | src/backend/replication/logical/launcher.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/backend/replication/logical/launcher.c b/src/backend/replication/logical/launcher.c index 345a4152123..5aaf24bfe4f 100644 --- a/src/backend/replication/logical/launcher.c +++ b/src/backend/replication/logical/launcher.c @@ -803,10 +803,6 @@ ApplyLauncherMain(Datum main_arg) pqsignal(SIGTERM, logicalrep_launcher_sigterm); BackgroundWorkerUnblockSignals(); - /* Make it easy to identify our processes. */ - SetConfigOption("application_name", MyBgworkerEntry->bgw_name, - PGC_USERSET, PGC_S_SESSION); - LogicalRepCtx->launcher_pid = MyProcPid; /* |