pgsql: Consistently use subscription name as application name

Started by Peter Eisentrautabout 9 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers