added postgresql server check