fergusstrange/embedded-postgres
Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 72
- Release rhythm 51
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 112.0
- age_days: 2482
- days_rel: 169
- days_push: 169
- n_releases_24m: 5
Adoption not part of the score
1223 stars · 104 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library that runs a real PostgreSQL database locally on Linux, macOS, or Windows as part of another Go application or test. It downloads precompiled Postgres binaries and requires no external dependencies beyond the Go build ecosystem.
Use cases
- run a real postgres database in go integration tests
- spin up an ephemeral postgres instance for testing
- replace in-memory database fakes with real postgres in tests
- embed postgres in a go application without external dependencies
- test database migrations against real postgres locally
When to choose
- you need higher test confidence than in-memory database alternatives
- you want a real Postgres with zero external dependencies in Go tests
- you need cross-platform local Postgres for Linux, macOS, or Windows
When to avoid
- you only need lightweight in-memory behavior and can tolerate a fake
- your tests run in environments where downloading binaries is not allowed
- you need a production database server rather than an embedded test instance
Facets
library · maturity active
database database-driver testing databases testing developer-tools windows go cross-platform embedded-postgres integration-testing go-library test-databases linux macos
1 source
- readme: https://github.com/fergusstrange/embedded-postgres · fetched 2026-08-28 · 4b907704ace2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fergusstrange/embedded-postgres | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="fergusstrange/embedded-postgres")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem