Comment cleanup

This commit is contained in:
Raul Marin
2019-11-04 16:53:48 +01:00
parent 03bc3436cd
commit 0f66c54ce5
3 changed files with 4 additions and 4 deletions
@@ -278,8 +278,6 @@ LANGUAGE PLPGSQL VOLATILE PARALLEL UNSAFE;
-- --
-- List registered servers -- List registered servers
-- --
-- TODO: Decide whether we want to show extra config (extensions, fetch_size, use_remote_estimate)
-- TODO: Handle multiple user mappings in the same server
CREATE OR REPLACE FUNCTION @extschema@.CDB_Federated_Server_List_Servers(server TEXT DEFAULT '%') CREATE OR REPLACE FUNCTION @extschema@.CDB_Federated_Server_List_Servers(server TEXT DEFAULT '%')
RETURNS TABLE ( RETURNS TABLE (
name text, name text,
@@ -133,7 +133,7 @@ CREATE OR REPLACE FUNCTION @extschema@.__CDB_FS_List_Foreign_Geometry_Columns_PG
RETURNS TABLE(column_name name, column_type text) RETURNS TABLE(column_name name, column_type text)
AS $func$ AS $func$
DECLARE DECLARE
-- Import `geometry_columns` and geography_columns from the postgis schema -- Import `geometry_columns` and `geography_columns` from the postgis schema
-- We assume that postgis is installed in the public schema -- We assume that postgis is installed in the public schema
-- Create local target schema if it does not exists -- Create local target schema if it does not exists
@@ -220,6 +220,9 @@ END
$$ $$
LANGUAGE PLPGSQL VOLATILE PARALLEL UNSAFE; LANGUAGE PLPGSQL VOLATILE PARALLEL UNSAFE;
--
-- List the columns of a remote table in a federated server that the current user has access to.
--
CREATE OR REPLACE FUNCTION @extschema@.CDB_Federated_Server_List_Remote_Columns( CREATE OR REPLACE FUNCTION @extschema@.CDB_Federated_Server_List_Remote_Columns(
server TEXT, server TEXT,
remote_schema TEXT, remote_schema TEXT,
-1
View File
@@ -5,7 +5,6 @@
-- Requires configuration parameter. Example: SELECT @extschema@.CDB_Conf_SetConf('groups_api', '{ "host": "127.0.0.1", "port": 3000, "timeout": 10, "username": "extension", "password": "elephant" }'); -- Requires configuration parameter. Example: SELECT @extschema@.CDB_Conf_SetConf('groups_api', '{ "host": "127.0.0.1", "port": 3000, "timeout": 10, "username": "extension", "password": "elephant" }');
---------------------------------- ----------------------------------
-- TODO: delete this development cleanup before final merge
DROP FUNCTION IF EXISTS @extschema@.CDB_Group_AddMember(group_name text, username text); DROP FUNCTION IF EXISTS @extschema@.CDB_Group_AddMember(group_name text, username text);
DROP FUNCTION IF EXISTS @extschema@.CDB_Group_RemoveMember(group_name text, username text); DROP FUNCTION IF EXISTS @extschema@.CDB_Group_RemoveMember(group_name text, username text);
DROP FUNCTION IF EXISTS @extschema@._CDB_Group_AddMember_API(group_name text, username text); DROP FUNCTION IF EXISTS @extschema@._CDB_Group_AddMember_API(group_name text, username text);