title: Converting custom array type to character varying array in postgresql
body: <p>I have created custom type </p>
  
  <pre><code> CREATE TYPE address AS (city VARCHAR(90), street VARCHAR(90));
  </code></pre>
  
  <p>I need to convert this type to character <code>varying[]</code>. I am getting error as </p>
  
  <blockquote>
    <p>cannot cast type customtype_address to character varying[]</p>
  </blockquote>