On 6/15/09 9:13 PM, Bruce YUAN wrote:
> Dears,
> How to embed postgresql if possible?
> In our Java application solution, we need an embedded database. Berkeley
> DB can not meet our reqirements in performance and license, so we wish
> to port postgresql as embedded database.
> Architecture: Java -> JNI -> the API is wrapped from Plan/Executor modules
> What's the feasibility? If it's possible, look for your coaching!
PostgreSQL is an enterprise database, not an embedded database.
I suggest that you check out two other databases:
1. SQLite
2. Apache Derby
... either of which should suit your needs better than PostgreSQL.
--
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com