Postgresql String Length Function Cpp