node check: handle --upstream option when node is primary

This commit is contained in:
Ian Barwick
2020-03-31 10:49:30 +09:00
parent d9cb38c7f0
commit bffb8fa11b
2 changed files with 37 additions and 25 deletions

View File

@@ -37,6 +37,7 @@
Server role: OK (node is primary)
Replication lag: OK (N/A - node is primary)
WAL archiving: OK (0 pending files)
Upstream connection: OK (N/A - is primary)
Downstream servers: OK (2 of 2 downstream nodes attached)
Replication slots: OK (node has no physical replication slots)
Missing replication slots: OK (node has no missing physical replication slots)</programlisting>