public inbox for [email protected]  
help / color / mirror / Atom feed
From: Greg Smith <[email protected]>
To: PostgreSQL Docs <[email protected]>
Subject: Re: FAQ on Embedding Postgres
Date: Wed, 5 Mar 2008 19:16:26 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<20080305103043.233761e8@jd-laptop>
	<20080305105307.2bcce254@jd-laptop>
	<[email protected]>

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 [email protected] http://www.gregsmith.com Baltimore, MD



view thread (24+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: FAQ on Embedding Postgres
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox