diff options
author | Fujii Masao <fujii@postgresql.org> | 2018-03-31 07:51:22 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2018-03-31 07:51:22 +0900 |
commit | 9a895462d940c0694042059f90e5f63a0a517ded (patch) | |
tree | 8c6bdfb92cd8efa28acfecb4c186b145094a1838 /src/backend/commands/cluster.c | |
parent | 11002f8afa551f4673aa6a7b62c1872c233e6052 (diff) | |
download | postgresql-9a895462d940c0694042059f90e5f63a0a517ded.tar.gz postgresql-9a895462d940c0694042059f90e5f63a0a517ded.zip |
Enhance pg_stat_wal_receiver view to display host and port of sender server.
Previously there was no way in the standby side to find out the host and port
of the sender server that the walreceiver was currently connected to when
multiple hosts and ports were specified in primary_conninfo. For that purpose,
this patch adds sender_host and sender_port columns into pg_stat_wal_receiver
view. They report the host and port that the active replication connection
currently uses.
Bump catalog version.
Author: Haribabu Kommi
Reviewed-by: Michael Paquier and me
Discussion: https://postgr.es/m/CAJrrPGcV_aq8=cdqkFhVDJKEnDQ70yRTTdY9RODzMnXNrCz2Ow@mail.gmail.com
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions