Adding OBS_DumpVersion function

This commit is contained in:
Carla Iriberri
2016-07-11 18:25:39 +02:00
parent 9c068fa45e
commit 5bc2d974ac
5 changed files with 27 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
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;