Bump V18 from 18.0.0 to 18.3.0 to fix darwin/arm64#166
Merged
fergusstrange merged 1 commit intofergusstrange:masterfrom Mar 17, 2026
Merged
Conversation
The upstream EnterpriseDB macOS binaries for PostgreSQL 18.0.0 were x86_64-only (missing the arm64 slice), causing "bad CPU type in executable" on Apple Silicon Macs without Rosetta 2. This was fixed in EDB's build system (EnterpriseDB/edb-installers#409) and the 18.3.0 binaries ship as proper universal binaries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
Fixes #165 |
fergusstrange
approved these changes
Mar 17, 2026
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.
Summary
V18from18.0.0to18.3.0to fix "bad CPU type in executable" on Apple Silicon Macs without Rosetta 2Root cause
The upstream EnterpriseDB macOS binaries for PostgreSQL 18.0.0 were x86_64-only — the
CFLAGSfor universal binary compilation were accidentally dropped in EDB's build (EnterpriseDB/edb-installers#409, fix commit). The zonkyrepack-postgres.shdownloads the same macOS zip for bothamd64andarm64v8, relying on it being a universal binary. With 18.0.0, both packages contained x86_64-only executables.EDB fixed this, and the 18.3.0 binaries on Maven Central (zonkyio/embedded-postgres-binaries) ship proper universal binaries:
Test plan
go test ./...passesV18starts successfullyfile ~/.embedded-postgres-go/extracted/bin/initdbshows universal binary🤖 Generated with Claude Code