From 8d18e50cc565307c953ad2135c830672169b9a20 Mon Sep 17 00:00:00 2001 From: Mario de Frutos Date: Thu, 11 Feb 2016 11:35:47 +0100 Subject: [PATCH] Fixed error in the return part of the isochrone function --- client/cdb_dataservices_client--0.1.0--0.2.0.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cdb_dataservices_client--0.1.0--0.2.0.sql b/client/cdb_dataservices_client--0.1.0--0.2.0.sql index 14b50bd..94350c1 100644 --- a/client/cdb_dataservices_client--0.1.0--0.2.0.sql +++ b/client/cdb_dataservices_client--0.1.0--0.2.0.sql @@ -54,7 +54,7 @@ $$ LANGUAGE 'plpgsql' SECURITY DEFINER; CREATE OR REPLACE FUNCTION cdb_dataservices_client._cdb_isochrone (username text, organization_name text, source geometry(Geometry, 4326), mode text, range integer[], options text[] DEFAULT NULL) RETURNS SETOF cdb_dataservices_client.isoline AS $$ CONNECT cdb_dataservices_client._server_conn_str(); - SELECT cdb_dataservices_server.cdb_isochrone (username, organization_name, source, mode, range, options); + SELECT * FROM cdb_dataservices_server.cdb_isochrone (username, organization_name, source, mode, range, options); $$ LANGUAGE plproxy; GRANT EXECUTE ON FUNCTION cdb_dataservices_client.cdb_isochrone(source geometry(Geometry, 4326), mode text, range integer[], options text[]) TO publicuser;