Check if postgres has been started