title: Python List to PostgreSQL Array
body: <p>I have a list:</p>
  
  <pre><code>[u'ABC', u'DEF', u'GHI']
  </code></pre>
  
  <p>I have to insert it into a postgresql array:
  (<code>ALTER TABLE "aTable" ADD COLUMN "Test" text[];</code>)</p>
  
  <p>The syntax for adding data to the postgresql is:</p>
  
  <pre><code>update "aTable" SET "Test" = '{"ABC", "DEF", "GHI"}'
  </code></pre>
  
  <p>How can I convert the list to the correct format?</p>