Update bundled PostgreSQL static libraries to 18.4#2468
Merged
Conversation
Contributor
ProjectSky
commented
May 24, 2026
- update the bundled PostgreSQL/libpq headers and static libraries to 18.4 (resolve [PostgreSQL] Database error SCRAM authentication requires libpq version 10 or above #1802)
- adjust pgsql extension link inputs for the newer libpq split libraries, and drop unsupported macOS pgsql builds
- build connection parameters with instead of manually formatting a connection string
- make own and clear its , preventing leaks when prepared statements are executed repeatedly
- close prepared statements with when statement handles are destroyed
- track copied vs borrowed prepared-statement parameter buffers so borrowed strings/blobs are not freed (resolve [PostgreSQL] delete DBStatement cause server crash #1946)
- update the bundled PostgreSQL/libpq headers and static libraries to 18.4 (resolve alliedmodders#1802) - adjust pgsql extension link inputs for the newer libpq split libraries, and drop unsupported macOS pgsql builds - build connection parameters with instead of manually formatting a connection string - make own and clear its , preventing leaks when prepared statements are executed repeatedly - close prepared statements with when statement handles are destroyed - track copied vs borrowed prepared-statement parameter buffers so borrowed strings/blobs are not freed (resolve alliedmodders#1946)
Member
|
Thanks for doing this! For security reasons, we don't allow external contributors to submit precompiled binaries, so I'll rebuild the libraries and push over top of these ones before merge. (Your build-postgresql-library project should make that trivial, so thank you for that as well). I'll also use our Linux build container for that so that we don't accidentally raise our minimum glibc version requirement. |
psychonic
approved these changes
May 24, 2026
Contributor
Author
|
Totally understand. Glad the build project helped. Let me know if any further changes are needed on my end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.