Make cdb_dataservices_server.OBS_GetProcessedData "public"

This commit is contained in:
Rafa de la Torre 2016-06-23 18:21:23 +02:00 committed by Carla Iriberri
parent 01edf81600
commit d517c62e6f
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ $$ LANGUAGE plproxy;
CREATE OR REPLACE FUNCTION cdb_dataservices_client._OBS_GetProcessedData(table_schema text, table_name text, params json)
RETURNS SETOF record AS $$
CONNECT _server_conn_str();
TARGET cdb_dataservices_server._OBS_GetProcessedData;
TARGET cdb_dataservices_server.OBS_GetProcessedData;
$$ LANGUAGE plproxy;
CREATE OR REPLACE FUNCTION cdb_dataservices_client._OBS_DisconnectUserTable(table_schema text, table_name text, server_name text)

View File

@ -40,7 +40,7 @@ RETURNS ds_return_metadata AS $$
SELECT cdb_observatory._OBS_GetReturnMetadata(params json);
$$ LANGUAGE plproxy;
CREATE OR REPLACE FUNCTION cdb_dataservices_server._OBS_GetAugmentedColumns(table_schema text, table_name text, params json)
CREATE OR REPLACE FUNCTION cdb_dataservices_server.OBS_GetProcessedData(table_schema text, table_name text, params json)
RETURNS SETOF record AS $$
CONNECT cdb_dataservices_server._obs_server_conn_str(username, orgname);
SELECT cdb_observatory._OBS_GetReturnMetadata(params json);