now detecting availability of postgres process