Deploying pgsql on localhost