diff --git a/scripts-available/CDB_GhostTables.sql b/scripts-available/CDB_GhostTables.sql index 42bc7b1..0b72087 100644 --- a/scripts-available/CDB_GhostTables.sql +++ b/scripts-available/CDB_GhostTables.sql @@ -67,7 +67,7 @@ $$ LANGUAGE plpgsql VOLATILE PARALLEL UNSAFE SECURITY DEFINER - SET search_path = @extschema@, pg_temp; + SET search_path = pg_temp; -- Trigger function to call CDB_LinkGhostTables() CREATE OR REPLACE FUNCTION @extschema@._CDB_LinkGhostTablesTrigger() @@ -84,7 +84,7 @@ $$ LANGUAGE plpgsql VOLATILE PARALLEL UNSAFE SECURITY DEFINER - SET search_path = @extschema@, pg_temp; + SET search_path = pg_temp; -- Event trigger to save the current transaction in @extschema@.cdb_ddl_execution CREATE OR REPLACE FUNCTION @extschema@.CDB_SaveDDLTransaction() @@ -97,7 +97,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 to link ghost tables CREATE OR REPLACE FUNCTION @extschema@.CDB_EnableGhostTablesTrigger() diff --git a/scripts-available/CDB_OAuth.sql b/scripts-available/CDB_OAuth.sql index 330da4d..ee0a617 100644 --- a/scripts-available/CDB_OAuth.sql +++ b/scripts-available/CDB_OAuth.sql @@ -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() diff --git a/scripts-available/CDB_TableMetadata.sql b/scripts-available/CDB_TableMetadata.sql index 8d401d3..c9b3cd5 100644 --- a/scripts-available/CDB_TableMetadata.sql +++ b/scripts-available/CDB_TableMetadata.sql @@ -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 diff --git a/scripts-available/CDB_Username.sql b/scripts-available/CDB_Username.sql index 7aa3c77..59a2557 100644 --- a/scripts-available/CDB_Username.sql +++ b/scripts-available/CDB_Username.sql @@ -7,4 +7,4 @@ $$ LANGUAGE SQL STABLE PARALLEL SAFE SECURITY DEFINER - SET search_path = @extschema@, pg_temp; + SET search_path = pg_temp;