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

Cgo? #79

Closed pjebs closed 2 years ago

pjebs commented 2 years ago

Does this package require cgo enabled? Is it equivalent to an actual postgres server or a substitute with most of the same features and behaviours?

fergusstrange commented 2 years ago

Hi,

No CGO is not required to run. The C binaries that are used are all precompiled for the chosen operating system.

The server run is an actual Postgres server as described in the README.