]> granicus.if.org Git - postgresql/commit
Consistently use subscription name as application name
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 7 Jun 2017 01:51:31 +0000 (21:51 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 7 Jun 2017 02:11:22 +0000 (22:11 -0400)
commitd4bfc06e292ee2f537f42d4ed216209c4537ee92
tree517c83e5e1ece52a3f111df870e68f74b09343b7
parent9206ced1dc05d3a9cc99faafa22d5d8b16d998d1
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.
src/backend/replication/logical/tablesync.c
src/backend/replication/logical/worker.c