check_postgres
check_postgres copied to clipboard
replicate_row should auto-detect master
replicate_row could use the same discovery technique used by hot_standby_delay to detect which of the --dbhost arguments is the master. This would make life a lot easier when defining checks programmatically (e.g. with Puppet).