Skip to content

Update bundled PostgreSQL static libraries to 18.4#2468

Merged
psychonic merged 2 commits into
alliedmodders:masterfrom
ProjectSky:update-postgresql
May 24, 2026
Merged

Update bundled PostgreSQL static libraries to 18.4#2468
psychonic merged 2 commits into
alliedmodders:masterfrom
ProjectSky:update-postgresql

Conversation

@ProjectSky
Copy link
Copy Markdown
Contributor

- 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)
@psychonic
Copy link
Copy Markdown
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 psychonic merged commit 483cd9f into alliedmodders:master May 24, 2026
4 checks passed
@ProjectSky
Copy link
Copy Markdown
Contributor Author

Totally understand. Glad the build project helped. Let me know if any further changes are needed on my end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PostgreSQL] delete DBStatement cause server crash [PostgreSQL] Database error SCRAM authentication requires libpq version 10 or above

2 participants