| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add worker type to pg_stat_subscription. |
| Date: | 2023-09-25 21:13:25 |
| Message-ID: | E1qkstR-005wBT-A8@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2023-09-25 22:12:18 | pgsql: Fix edge-case for xl_tot_len broken by bae868ca. |
| Previous Message | Andres Freund | 2023-09-25 19:50:59 | pgsql: pg_dump: tests: Correct test condition for invalid databases |