Postgres String Length Function Cpp