Re: How to embed postgresql? - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: How to embed postgresql?
Date
Msg-id 4A3730BB.3020400@agliodbs.com
Whole thread Raw
In response to How to embed postgresql?  (Bruce YUAN <suanic@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: change do_tup_output to take Datum arguments rather than cstring
Next
From: dror
Date:
Subject: Re: How to embed postgresql?