Postgresql Select Concat String In C