Postgresql String Split Function C