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