Andres Freund <andres(at)anarazel(dot)de> writes:>> pg_strtoi?
> I think that's what Thomas did upthread. Are you taking this one then?
I'd go with just "strtoint". We have "strtoint64" elsewhere.
regards, tom lane