input: Write a function to implement a Python script that refreshes a given table of data in a PostgreSQL database every 5 minutes. The function should connect to the database using psycopg2, define a query to refresh the table, and schedule the job to run every 5 minutes using the schedule library. The script should run indefinitely, periodically checking and executing pending jobs.
  
  assert refresh_data_table()
  
  （Output is not applicable as the function runs indefinitely and does not return any value.）
output: import psycopg2
  import schedule
  import time
  
  def refresh_data_table():
      def refresh_table():
          conn = psycopg2.connect(database="your_db", user="your_user", password="your_password", host="your_host", port="your_port")
          cur = conn.cursor()
          cur.execute("REFRESH MATERIALIZED VIEW your_table;")
          conn.commit()
          cur.close()
          conn.close()
  
      schedule.every(5).minutes.do(refresh_table)
  
      while True:
          schedule.run_pending()
          time.sleep(1)