Closed df7cb closed 4 years ago
Did int.h go by a different name in previous versions? Perhaps we could do conditional compilation of the name based on pg version?
It contains the new safe overflow detection functions which you are using in the security fix. If you add #ifdefs, the code would be back to the old state on the older versions. (Judging from a 10s-read of the header files yesterday.)
Would you be willing to try to add the ifdef changes in this pull request so that it can compile with more versions of pg?
You should enable CI tests to answer that question, see #19
Results for the master branch are here: https://travis-ci.org/credativ/pg_rational Branches/Pull requests will be automatically tests if they contain the .travis-ci.yml file.
Merged another PR which hopefully resolves this one.
We need at least PG11 where common/int.h was introduced.