diff --git a/client/cdb_dataservices_client--0.11.1--0.12.0.sql b/client/cdb_dataservices_client--0.11.1--0.12.0.sql index affd22d..310dae8 100644 --- a/client/cdb_dataservices_client--0.11.1--0.12.0.sql +++ b/client/cdb_dataservices_client--0.11.1--0.12.0.sql @@ -100,7 +100,7 @@ END; $$ LANGUAGE 'plpgsql' SECURITY DEFINER; CREATE OR REPLACE FUNCTION cdb_dataservices_client.obs_legacybuildermetadata (aggregate_type text DEFAULT NULL) -RETURNS TABLE(name text, subsection jsonb) AS $$ +RETURNS TABLE(name text, subsection json) AS $$ DECLARE username text; @@ -158,7 +158,7 @@ $$ LANGUAGE plproxy; CREATE OR REPLACE FUNCTION cdb_dataservices_client._obs_legacybuildermetadata (username text, organization_name text, aggregate_type text DEFAULT NULL) -RETURNS TABLE(name text, subsection jsonb) AS $$ +RETURNS TABLE(name text, subsection json) AS $$ CONNECT cdb_dataservices_client._server_conn_str(); SELECT * FROM cdb_dataservices_server.obs_legacybuildermetadata (username, organization_name, aggregate_type); diff --git a/client/cdb_dataservices_client--0.12.0--0.11.1.sql b/client/cdb_dataservices_client--0.12.0--0.11.1.sql index 67434bf..47e3f10 100644 --- a/client/cdb_dataservices_client--0.12.0--0.11.1.sql +++ b/client/cdb_dataservices_client--0.12.0--0.11.1.sql @@ -13,7 +13,7 @@ DROP FUNCTION IF EXISTS cdb_dataservices_client._obs_getavailablenumerators (tex DROP FUNCTION IF EXISTS cdb_dataservices_client._obs_getavailabledenominators (text, text, geometry(Geometry, 4326), text[], text, text, text); DROP FUNCTION IF EXISTS cdb_dataservices_client._obs_getavailablegeometries (text, text, geometry(Geometry, 4326), text[], text, text, text); DROP FUNCTION IF EXISTS cdb_dataservices_client._obs_getavailabletimespans (text, text, geometry(Geometry, 4326), text[], text, text, text); -DROP FUNCTION IF EXISTS cdb_dataservices_client._obs_legacybuildermetadata(text); +DROP FUNCTION IF EXISTS cdb_dataservices_client._obs_legacybuildermetadata(text, text, text); DROP TYPE IF EXISTS cdb_dataservices_client.obs_meta_numerator; DROP TYPE IF EXISTS cdb_dataservices_client.obs_meta_denominator; diff --git a/client/cdb_dataservices_client--0.12.0.sql b/client/cdb_dataservices_client--0.12.0.sql index f5722f2..d0711cb 100644 --- a/client/cdb_dataservices_client--0.12.0.sql +++ b/client/cdb_dataservices_client--0.12.0.sql @@ -1240,7 +1240,7 @@ $$ LANGUAGE 'plpgsql' SECURITY DEFINER; -- and should also be the only ones with SECURITY DEFINER CREATE OR REPLACE FUNCTION cdb_dataservices_client.obs_legacybuildermetadata (aggregate_type text DEFAULT NULL) -RETURNS TABLE(name text, subsection jsonb) AS $$ +RETURNS TABLE(name text, subsection json) AS $$ DECLARE username text; @@ -1925,7 +1925,7 @@ $$ LANGUAGE plproxy; CREATE OR REPLACE FUNCTION cdb_dataservices_client._obs_legacybuildermetadata (username text, organization_name text, aggregate_type text DEFAULT NULL) -RETURNS TABLE(name text, subsection jsonb) AS $$ +RETURNS TABLE(name text, subsection json) AS $$ CONNECT cdb_dataservices_client._server_conn_str(); SELECT * FROM cdb_dataservices_server.obs_legacybuildermetadata (username, organization_name, aggregate_type); diff --git a/client/renderer/interface.yaml b/client/renderer/interface.yaml index b063535..4abe429 100644 --- a/client/renderer/interface.yaml +++ b/client/renderer/interface.yaml @@ -372,7 +372,7 @@ - { name: geom_id, type: text, default: 'NULL'} - name: obs_legacybuildermetadata - return_type: TABLE(name text, subsection jsonb) + return_type: TABLE(name text, subsection json) multi_row: true multi_field: true params: