pgsql: Consistently use subscription name as application name

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Consistently use subscription name as application name
Date: 2017-06-07 02:11:49
Message-ID: E1dIQRp-0006iG-Od@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Consistently use subscription name as application name

The logical replication apply worker uses the subscription name as
application name, except for table sync. This was incorrectly set to
use the replication slot name, which might be different, in one case.
Also add a comment why the other case is different.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d4bfc06e292ee2f537f42d4ed216209c4537ee92

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 5 +++++
src/backend/replication/logical/worker.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2017-06-07 06:43:52 pgsql: Fix double-free bug in GSS authentication.
Previous Message Filipe Rosset 2017-06-07 01:40:49 Re: pgsql: Unify SIGHUP handling between normal and walsender backends.