Add worker type to pg_stat_subscription.
authorNathan Bossart <nathan@postgresql.org>
Mon, 25 Sep 2023 21:12:43 +0000 (14:12 -0700)
committerNathan Bossart <nathan@postgresql.org>
Mon, 25 Sep 2023 21:12:43 +0000 (14:12 -0700)
commit13aeaf0797e75a0c53abb66ac907ba14b4e47f6b
treebfcbbcbcae98f6428545c492ae5be6206f25bdc3
parent849d367ff9a2875d4906fa110472462c4c95fad0
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
doc/src/sgml/monitoring.sgml
src/backend/catalog/system_views.sql
src/backend/replication/logical/launcher.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat
src/test/regress/expected/rules.out
src/test/subscription/t/004_sync.pl