Peter Eisentraut <peter.eisentr...@2ndquadrant.com> writes: > I think the problem is rather that we somehow need to tell it to link > src/common/string.c into pgtypeslib.
Yeah, that's what I supposed. Looking at pgtypeslib, there's already infrastructure for collecting stuff from src/port/, and I see you added some for src/common/ in its Makefile, but evidently not in the MSVC scripts. It looks like the way the MSVC build works now is dependent on @pgportfiles. You could invent parallel infrastructure for src/common/, but I wonder whether the path of least resistance might not be to put strtoint() into src/port/ instead. regards, tom lane