update: detect wheather postgresql server is installed