Upgrading Postgres Client Library to 18_1 #13
+81
−50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are still a few outstanding issues, and I'm unsure if some of these values can be set based on the presence of a target feature or glibc version etc.
My steps for doing this was.
./configure CC='zig cc' CXX='zig c++' --with-ssl=opensslcommonportlibpq.zig build -Dssl=OpenSSLPG_KEYWORDmacroUNRESERVED_KEYWORDandBARE_LABELThese errors are left in a file provided called
compile-errors.txtI'm no expert at this stuff, and it was fun getting this far. I will need some guidance on some of the new 18_1 header defines, as well as these 2 issues.