Remove cartodb from search path

All calls to the extension functions should, and are,
be properly qualified, so there is no need to keep
the cartodb schema in the search_path
This commit is contained in:
Raul Marin
2019-10-03 17:29:35 +02:00
parent 52b3290d26
commit 0e891eff7f
4 changed files with 7 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ $$ LANGUAGE plpgsql
VOLATILE
PARALLEL UNSAFE
SECURITY DEFINER
SET search_path = @extschema@, pg_temp;
SET search_path = pg_temp;
-- Creates the trigger on DDL events in order to reassign the owner
CREATE OR REPLACE FUNCTION @extschema@.CDB_EnableOAuthReassignTablesTrigger()