Postgres embedded server equivalent including extensions for .Net applications
// readme
MysticMind.PostgresEmbed Postgres embedded database equivalent for .Net applications
Run a real PostgreSQL server, extensions included, from .NET code and tests on Windows, Linux (glibc and Alpine/musl) and macOS, on both x64 and arm64. No Docker and no local Postgres install required.
By default, this library uses the minimal binaries published by zonkyio/embedded-postgres-binaries. They are much smaller than the official downloads. A list of all available Postgres versions is here: https://mvnrepository.com/artifact/io.zonky.test.postgres/embedded-postgres-binaries-bom. Click a version to see the platforms it is published for.
The library detects the OS and CPU architecture and downloads the matching binaries.
If you have benefitted from this library and it has saved you a bunch of time, please feel free to sponsor my work!
Requirements
- .NET 8 or later (the package targets .NET 8, 9, 10 and 11)
- Windows x64, Linux x64/arm64 (glibc or musl), macOS x64/arm64 -โฆ