This will take ‘1,2,3,4,5’
select unnest(string_to_array(column, ',')) AS parts
and return
1 2 3 4 5