Postgres Aggregate Functions For Strings In C