Postgresql String To Array Get Last Element