Add pg_replication check