title: Insert array into postgres array
body: <p>I'm trying to insert an array into a postrges table as an array.  I'm receiving the following error:</p>
  
  <pre><code>jobsArray = ['Vice President', 'Technical Services Consultant']
  
  db.execute("""INSERT INTO test VALUES (%s)""", (jobsArray,))
  </code></pre>
  
  <blockquote>
    <p>TypeError: not all arguments converted during string formatting</p>
  </blockquote>
  
  <p>I've tried many different solutions recommended on stackoverflow but with no success, errors vary but this is the most common error.  I tried converting to a tuple but same behavior.  </p>