check_postgres: New formula