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

@@ -59,7 +59,7 @@ $$ LANGUAGE plpgsql
VOLATILE
PARALLEL UNSAFE
SECURITY DEFINER
SET search_path = @extschema@, pg_temp;
SET search_path = pg_temp;
--
-- Trigger invalidating varnish whenever CDB_TableMetadata
@@ -123,7 +123,7 @@ $$ LANGUAGE plpgsql
VOLATILE
PARALLEL UNSAFE
SECURITY DEFINER
SET search_path = @extschema@, pg_temp;
SET search_path = pg_temp;
DROP TRIGGER IF EXISTS table_modified ON @extschema@.CDB_TableMetadata;
-- NOTE: on DELETE we would be unable to convert the table