CREATE OR REPLACE FUNCTION func_request_refresh_view_materialized()
  RETURNS TRIGGER LANGUAGE plpgsql
  AS $$
  BEGIN
  		
		UPDATE refresh_view_m SET
			last_executed = NOW()
		WHERE	name_view = TG_ARGV[0]; 
  
  
  RETURN NULL;
  END $$;  