You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e3f689e
Browse filesBrowse the repository at this point in the historyBrowse files
* perf(nix): shrink postgres-env closure
Strip pgrx extension .so files fully. The stdenv fixup only strips debug
sections and leaves .symtab behind.
Split postgres-env-* into a runtime env and postgres-env-*-debug, which
carries postgresql_*_src and debug symbols.
Drop supautils from the base psql_* extension set. The site profile
loads it through dynamic_library_path, so install site-env on the AMI,
add pg-extensions to site-env, and set dynamic_library_path.
Add psql_*_latest, which ships only the latest version of each
extension, and use it in postgres-env-*. Split slim from latestOnly so
the base env keeps systemd support and the regular locales.
Link postgres against systemdLibs instead of the full systemd. Use the
main curl in pg_net, which removes a second glibc. Build sfcgal and cgal
against boost with icu75, which removes a second ICU.
postgres-env-17 closure on aarch64-linux: 2.54 GB to 1.00 GB.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(nix): correct supautils path in checks
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(nix): build old pg_net versions against current curl
Versions before 0.20.4 include curl/multi.h directly. With curl 8.17
the typecheck macro for curl_multi_setopt breaks the declaration in
multi.h. Define CURL_DISABLE_TYPECHECK for those versions.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* refactor(nix): keep all extension versions in postgres-env
Drop psql_*_latest and the slim split. Add psql_*_env, the base
extension set without supautils, and build postgres-env-* from it.
Supautils stays in the base psql_* for tests and docker images.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* refactor(nix): drop supautils and site-env changes
Keep supautils in the base extension set and leave site-env and the
ansible config as on develop, so this change stands alone. Use the
smaller pg_net compile flag change.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* refactor(nix): leave postgres-env as on develop
Move the debug env split out to its own change.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(nix): link darwin pg_net curl against apple libiconv
Build libunistring, libidn2, and libpsl against apple libiconv for the
pg_net curl on darwin, so the cli bundle has a single libiconv.2.dylib.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* perf(nix): build pgbouncer against systemdLibs
pgbouncer only needs sd_notify from libsystemd. The full systemd pulled
in kbd, p11-kit, elfutils, tpm2-tss, gnutls, and cryptsetup as well.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* refactor(nix): leave pgrx stripping as on develop
Move the pgrx strip to the debug env change.
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* refactor(nix): pick the darwin curl at the pg_net use site
Refs: MPG-1325
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
0 commit comments