Add worker type to pg_stat_subscription.
Thanks to commit 2a8b40e368, the logical replication worker type is
easily determined. The worker type could already be deduced via
other columns such as leader_pid and relid, but that is unnecessary
complexity for users.
Bumps catversion.
Author: Peter Smith
Reviewed-by: Michael Paquier, Maxim Orlov, Amit Kapila
Discussion: https://postgr.es/m/CAHut%2BPtmbSMfErSk0S7xxVdZJ9XVE3xVLhqBTmT91kf57BeKDQ%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/13aeaf0797e75a0c53abb66ac907ba14b4e47f6b
Modified Files
--------------
doc/src/sgml/monitoring.sgml | 13 ++++++++++++-
src/backend/catalog/system_views.sql | 1 +
src/backend/replication/logical/launcher.c | 18 +++++++++++++++++-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 6 +++---
src/test/regress/expected/rules.out | 3 ++-
src/test/subscription/t/004_sync.pl | 2 +-
7 files changed, 37 insertions(+), 8 deletions(-)