-- Fix search_path for set_config_value function
CREATE OR REPLACE FUNCTION public.set_config_value(
  setting_name text,
  setting_value text,
  is_local boolean DEFAULT false
)
RETURNS void
LANGUAGE plpgsql
SECURITY DEFINER
SET search_path = public
AS $$
BEGIN
  PERFORM set_config(setting_name, setting_value, is_local);
END;
$$;