On Sep 26, 2021, at 19:25, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> More to the point, you should be checking whether strtol reports overflow.
> Having now seen your code, I'll opine that the failing platforms have
> 32-bit long.
Thanks for the pointer, Tom. I believe this fixes that particular issue.
https://github.com/theory/pg-semver/commit/4d79dcc
Best,
David