From 61e8273a4746898157972c61b69b45457db6cc19 Mon Sep 17 00:00:00 2001 From: Antonio Date: Mon, 15 Jan 2018 11:07:50 +0100 Subject: [PATCH] Removed unneccessary drop functions --- client/cdb_dataservices_client--0.22.0--0.23.0.sql | 3 --- client/cdb_dataservices_client--0.23.0.sql | 2 -- 2 files changed, 5 deletions(-) diff --git a/client/cdb_dataservices_client--0.22.0--0.23.0.sql b/client/cdb_dataservices_client--0.22.0--0.23.0.sql index fd08d35..dd39f6d 100755 --- a/client/cdb_dataservices_client--0.22.0--0.23.0.sql +++ b/client/cdb_dataservices_client--0.22.0--0.23.0.sql @@ -166,7 +166,6 @@ BEGIN END; $$ LANGUAGE 'plpgsql' SECURITY DEFINER STABLE PARALLEL UNSAFE; -DROP FUNCTION IF EXISTS cdb_dataservices_client._cdb_mapbox_geocode_street_point (username text, orgname text, searchtext text, city text, state_province text, country text); CREATE OR REPLACE FUNCTION cdb_dataservices_client._cdb_mapbox_geocode_street_point (username text, orgname text, searchtext text, city text DEFAULT NULL, state_province text DEFAULT NULL, country text DEFAULT NULL) RETURNS Geometry AS $$ CONNECT cdb_dataservices_client._server_conn_str(); @@ -175,7 +174,6 @@ RETURNS Geometry AS $$ $$ LANGUAGE plproxy VOLATILE PARALLEL UNSAFE; -DROP FUNCTION IF EXISTS cdb_dataservices_client._cdb_mapbox_isochrone (username text, orgname text, source geometry(Geometry, 4326), mode text, range integer[], options text[]); CREATE OR REPLACE FUNCTION cdb_dataservices_client._cdb_mapbox_isochrone (username text, orgname text, source geometry(Geometry, 4326), mode text, range integer[], options text[] DEFAULT ARRAY[]::text[]) RETURNS SETOF cdb_dataservices_client.isoline AS $$ CONNECT cdb_dataservices_client._server_conn_str(); @@ -184,7 +182,6 @@ RETURNS SETOF cdb_dataservices_client.isoline AS $$ $$ LANGUAGE plproxy VOLATILE PARALLEL UNSAFE; -DROP FUNCTION IF EXISTS cdb_dataservices_client._cdb_mapbox_isodistance (username text, orgname text, source geometry(Geometry, 4326), mode text, range integer[], options text[]); CREATE OR REPLACE FUNCTION cdb_dataservices_client._cdb_mapbox_isodistance (username text, orgname text, source geometry(Geometry, 4326), mode text, range integer[], options text[] DEFAULT ARRAY[]::text[]) RETURNS SETOF cdb_dataservices_client.isoline AS $$ CONNECT cdb_dataservices_client._server_conn_str(); diff --git a/client/cdb_dataservices_client--0.23.0.sql b/client/cdb_dataservices_client--0.23.0.sql index 211867e..783be74 100644 --- a/client/cdb_dataservices_client--0.23.0.sql +++ b/client/cdb_dataservices_client--0.23.0.sql @@ -4135,7 +4135,6 @@ RETURNS Geometry AS $$ SELECT cdb_dataservices_server.cdb_google_geocode_street_point (username, orgname, searchtext, city, state_province, country); $$ LANGUAGE plproxy VOLATILE PARALLEL UNSAFE; -DROP FUNCTION IF EXISTS cdb_dataservices_client._cdb_mapbox_geocode_street_point (username text, orgname text, searchtext text, city text, state_province text, country text); CREATE OR REPLACE FUNCTION cdb_dataservices_client._cdb_mapbox_geocode_street_point (username text, orgname text, searchtext text, city text DEFAULT NULL, state_province text DEFAULT NULL, country text DEFAULT NULL) RETURNS Geometry AS $$ CONNECT cdb_dataservices_client._server_conn_str(); @@ -4167,7 +4166,6 @@ RETURNS SETOF cdb_dataservices_client.isoline AS $$ SELECT * FROM cdb_dataservices_server.cdb_isochrone (username, orgname, source, mode, range, options); $$ LANGUAGE plproxy VOLATILE PARALLEL UNSAFE; -DROP FUNCTION IF EXISTS cdb_dataservices_client._cdb_mapbox_isochrone (username text, orgname text, source geometry(Geometry, 4326), mode text, range integer[], options text[]); CREATE OR REPLACE FUNCTION cdb_dataservices_client._cdb_mapbox_isochrone (username text, orgname text, source geometry(Geometry, 4326), mode text, range integer[], options text[] DEFAULT ARRAY[]::text[]) RETURNS SETOF cdb_dataservices_client.isoline AS $$ CONNECT cdb_dataservices_client._server_conn_str();