Henrik Zagerholm <henke@xxxxxx> writes: >> Postgres has been designed as a server, and lots of >> implementation details might not make sense in an embedded >> context. you might be better served by SQLite, or some other >> such library. > ... It is also quite crash resistant with the WAL implementation. One of the reasons it's crash resistant is exactly that it's *not* embedded, and thus not subject to corruption by application-side bugs. That concern is what has caused the developers to have zero interest in creating an embeddable variant. regards, tom lane