Is there a way to remove a value from an array in pgSQL? Or to be more precise, to pop the last value? Judging by this list the answer seems to be no. I can get the result I wan
Try this:
update table_name set column_name=column_name[1:array_upper(column_name, 1)-1];