dataservices-api/server/extension/sql/130_data_observatory_helper.sql

6 lines
255 B
MySQL
Raw Normal View History

2016-07-12 00:25:39 +08:00
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;