I have a column in PostgreSQL Table
modification_dates timestamp without time zone[]
I need to be able to add a date to the array. The easy way would be to get the array and add element then rewrite it.
Another way would be to get the array , count it and use the following syntax to set the last value.
UPDATE my_table SET timestamp [countOfArray] = newDate;
Is there a way to do it with one SQL Statement?