Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id DE1372E2F29 for ; Wed, 5 Mar 2008 10:37:31 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 35926-06 for ; Wed, 5 Mar 2008 10:37:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from fetter.org (start.fetter.org [66.92.188.65]) by postgresql.org (Postfix) with ESMTP id 6B98B2E2F47 for ; Wed, 5 Mar 2008 10:37:15 -0400 (AST) Received: by fetter.org (Postfix, from userid 500) id E0FA6FBCDA6; Wed, 5 Mar 2008 06:37:12 -0800 (PST) Date: Wed, 5 Mar 2008 06:37:12 -0800 From: David Fetter To: PostgreSQL Docs Subject: FAQ on Embedding Postgres Message-ID: <20080305143712.GJ19860@fetter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/2 X-Sequence-Number: 4814 Folks, I just got yet another question about embedding Postgres in a binary. What should be in the FAQ on this subject? Here's what I have so far: Q: How can I embed PostgreSQL in a binary? A: You can't. PostgreSQL is designed from the ground up to run as a separate set of processes on a server. If you really need to embed an SQL engine in a binary, consider the excellent SQLite for the purpose. Comments? Criticisms? Rotten tomatoes? Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate