summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 0642d16d2..d0635fb6e 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -6501,7 +6501,7 @@ sub check_slony_status {
my $SQL =
qq{SELECT ROUND(EXTRACT(epoch FROM st_lag_time)),
st_origin, st_received,
-COALESCE(n1.no_comment, ''), COALESCE(n1.no_comment, '')
+COALESCE(n1.no_comment, ''), COALESCE(n2.no_comment, '')
FROM $schema.sl_status
JOIN $schema.sl_node n1 ON (n1.no_id=st_origin)
JOIN $schema.sl_node n2 ON (n2.no_id=st_received)};