Postgresql String Length Function In Cpp