Postgresql String Split Function In C