Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D1FE62E00C8 for ; Wed, 5 Mar 2008 10:41:33 -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 49847-04 for ; Wed, 5 Mar 2008 10:41:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 35F492E00D1 for ; Wed, 5 Mar 2008 10:41:26 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id m25EfLC16177; Wed, 5 Mar 2008 09:41:21 -0500 (EST) From: Bruce Momjian Message-Id: <200803051441.m25EfLC16177@momjian.us> Subject: Re: FAQ on Embedding Postgres In-Reply-To: <20080305143712.GJ19860@fetter.org> To: David Fetter Date: Wed, 5 Mar 2008 09:41:21 -0500 (EST) CC: PostgreSQL Docs X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/3 X-Sequence-Number: 4815 David Fetter wrote: > 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? Yea, good idea. Let me add it. Thanks. -- Bruce Momjian http://momjian.us EnterpriseDB http://postgres.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +