fergusstrange / embedded-postgres

Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
MIT License
819 stars 85 forks source link

Patch for m1 macs: Use native binaries for 14.2 and above #90

Closed bdoherty-tovala closed 1 year ago

bdoherty-tovala commented 1 year ago

Since arm64 binaries exist for postgres >= 14.2, use those. This helps avoid some architecture-specific issues when using AMD architecture binaries on ARM platforms.

See https://github.com/fergusstrange/embedded-postgres/issues/86

fergusstrange commented 1 year ago

This is fantastic, well done. I'll cut a release for this shortly.