Postgres String Length Function In C