diff --git a/server/extension/cdb_dataservices_server--0.29.0--0.28.0.sql b/server/extension/cdb_dataservices_server--0.29.0--0.28.0.sql index ee4bb7e..18e7b9c 100644 --- a/server/extension/cdb_dataservices_server--0.29.0--0.28.0.sql +++ b/server/extension/cdb_dataservices_server--0.29.0--0.28.0.sql @@ -3017,18 +3017,3 @@ RETURNS SETOF cdb_dataservices_server.isoline AS $$ result = plpy.execute(mapzen_plan, [username, orgname, source, mode, range, options]) return result $$ LANGUAGE plpythonu; -DO $$ -BEGIN - IF NOT EXISTS ( - SELECT * - FROM pg_catalog.pg_user - WHERE usename = 'geocoder_api') THEN - - CREATE USER geocoder_api; - END IF; - GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA cdb_dataservices_server TO geocoder_api; - GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO geocoder_api; - GRANT USAGE ON SCHEMA cdb_dataservices_server TO geocoder_api; - GRANT USAGE ON SCHEMA public TO geocoder_api; - GRANT SELECT ON ALL TABLES IN SCHEMA public TO geocoder_api; -END$$;