plugins/check_postgresql_replication: rewrote plugin to use a query instead of
xfer logs