Remove unused pgsql_connect

Dead code removal