title: PostgreSQL - ALTER column data type from integer to integer array
body: <p>Kindly help to modify a column of type integer to integer array:</p>
  
  <p>I had created a table with a column <code>content_id</code> of type integer. then I tried to change the <code>content_id(integer)</code> to <code>integer[](integer array)</code> but its showing error as displayed:</p>
  
  <pre><code>TestDatabase=# ALTER TABLE tbl_handset_content ALTER COLUMN content_id TYPE integer[];
  ERROR:  column "content_id" cannot be cast to type "pg_catalog.int4[]"
  </code></pre>
  
  <p>Regards,</p>
  
  <p>Sravan</p>