Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E3F932E1382 for ; Wed, 5 Mar 2008 20:16:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 06505-03 for ; Wed, 5 Mar 2008 20:16:27 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from westnet.com (westnet.com [216.187.52.2]) by postgresql.org (Postfix) with ESMTP id 9010B2E0321 for ; Wed, 5 Mar 2008 20:16:27 -0400 (AST) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id m260GQOo011426 for ; Wed, 5 Mar 2008 19:16:26 -0500 (EST) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id m260GQ0u011420 for ; Wed, 5 Mar 2008 19:16:26 -0500 (EST) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Wed, 5 Mar 2008 19:16:26 -0500 (EST) From: Greg Smith X-X-Sender: gsmith@westnet.com To: PostgreSQL Docs Subject: Re: FAQ on Embedding Postgres In-Reply-To: <20080305191717.GV4755@alvh.no-ip.org> Message-ID: References: <200803051502.m25F2fm03349@momjian.us> <718.1204738553@sss.pgh.pa.us> <20080305174126.GM19860@fetter.org> <1029.1204739761@sss.pgh.pa.us> <20080305182500.GN19860@fetter.org> <20080305103043.233761e8@jd-laptop> <20080305105307.2bcce254@jd-laptop> <20080305191717.GV4755@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/26 X-Sequence-Number: 4838 I think it's funny to consider a specific recommendation for SQLite as being out of line when you look at the history here. The whole reason that software even exists is because of the difficulty of using PostgreSQL in this context. See http://www.linuxjournal.com/article/6650 With that in mind, after gobbling up a good mix of earlier suggestions here and editing a bit I think it's completely reasonable to write this: "Q: How can I embed PostgreSQL inside another program? A: PostgreSQL is designed with a client/server architecture that makes it difficult to embed this way. There are other open source databases you might consider that are better suited for embedded usage, such as SQLite which was designed for that purpose." Now there's no obligation to mention Firebird/MySQL/etc. because that's not in fact what they were originally designed for (there's not enough angry Derby users to worry about them), and this satisfies the idea I support that you give people some idea where they might look instead. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD