dataservices-api/server/extension/sql/130_data_observatory_helper.sql
2016-07-11 18:25:39 +02:00

6 lines
255 B
PL/PgSQL

CREATE OR REPLACE FUNCTION cdb_dataservices_server.obs_dumpversion(username text, orgname text)
RETURNS text AS $$
CONNECT cdb_dataservices_server._obs_server_conn_str(username, orgname);
SELECT cdb_observatory.obs_dumpversion();
$$ LANGUAGE plproxy;