Adding value to Postgres integer array
<p>I am looking for help in adding a value <code>10</code> to an <code>int[]</code> in PostgreSQL 9.5.</p>

<p>Looking at the documentation I should be able to use this format to update it but it is not working:</p>

<pre><code>int[] + int   push element onto array (add it to end of array)
</code></pre>

<p>I have tried running this:</p>

<pre><code>update table1 set integer_array = integer_array + 10::Integer. 
</code></pre>

<p>It did not work and I got this error: </p>

<pre><code>ERROR: operator does not exist: integer[] + integer
  Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
  Position: 67
</code></pre>

<p>I feel this is the same format like the one presented in the documentation on  how to perform this operation.</p>