Column values in DB are something like this {1,2,4} & the value which I want to edit is currently null.
What postgres I can execute to make it similar to other value.
I've run a query but it has given undesired result: Result-> {[0:0]={1}}
The query I've executed
update table_name set column_name[0]=1 where unique_val = 1;
After executing the query , I want row2-> value to get in similar structure to first row.
Any help would be appreciated.

{1,2,3,4}is not the same as row 1. Anyway can you say why this is not sufficient:UPDATE table_name SET column_name = '{1,2,3,4}' WHERE id = 2?