Skip to content

Commit 490777e

Browse files
nzoschkeclaude
andauthored
Bump V18 from 18.0.0 to 18.3.0 to fix darwin/arm64 (#166)
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>
1 parent f351010 commit 490777e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ following to add the latest release to your project.
3232
go get -u github.com/fergusstrange/embedded-postgres
3333
```
3434

35-
Please note that Postgres 18 & Mac/Darwin builds require [Rosetta 2](https://github.com/fergusstrange/embedded-postgres/blob/cf5b3570ca7fc727fae6e4874ec08b4818b705b1/.circleci/config.yml#L28).
35+
Please note that Postgres versions before 18.3.0 on Mac/Darwin require [Rosetta 2](https://github.com/fergusstrange/embedded-postgres/blob/cf5b3570ca7fc727fae6e4874ec08b4818b705b1/.circleci/config.yml#L28) on Apple Silicon due to the upstream binaries being x86_64-only. Version 18.3.0+ includes universal binaries that work natively on Apple Silicon.
3636

3737
## How to use
3838

@@ -43,7 +43,7 @@ This library aims to require as little configuration as possible, favouring over
4343
| Username | postgres |
4444
| Password | postgres |
4545
| Database | postgres |
46-
| Version | 18.0.0 |
46+
| Version | 18.3.0 |
4747
| Encoding | UTF8 |
4848
| Locale | C |
4949
| CachePath | $USER_HOME/.embedded-postgres-go/ |

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ type PostgresVersion string
153153

154154
// Predefined supported Postgres versions.
155155
const (
156-
V18 = PostgresVersion("18.0.0")
156+
V18 = PostgresVersion("18.3.0")
157157
V17 = PostgresVersion("17.5.0")
158158
V16 = PostgresVersion("16.9.0")
159159
V15 = PostgresVersion("15.13.0")

0 commit comments

Comments
 (0)