Re: Embed PostgreSQL in application - Mailing list pgsql-general

From Chris Browne
Subject Re: Embed PostgreSQL in application
Date
Msg-id 60slwjmrw1.fsf@dba2.int.libertyrms.com
Whole thread Raw
In response to Embed PostgreSQL in application  (Lukas Demetz <lukas@digiem.net>)
List pgsql-general
lukas@digiem.net (Lukas Demetz) writes:
> Hi there, for a program I am building, which uses PostgreSQL as its
> backend, I want to embed the DB engine into the application's
> setup. Now I wonder if something like Firebird's "Embedded server"
> (a DLL ) is also available for PostgreSQL, or if there are other
> ways to minimize or remove completely the need for a user to install
> PostgreSQL on his own. Thanks for the responses -- Lukas Demetz

There isn't any direct such option.

But nothing stops you from forking a process without telling the user
about it.

You tell the user "I need this port and this directory", and don't
bother telling the user when you start up the database there.

After all, spawning processes cheaply is one of Unix's strengths; you
might as well use that strength...
--
let name="cbbrowne" and tld="cbbrowne.com" in name ^ "@" ^ tld;;
http://cbbrowne.com/info/languages.html
"[In 'Doctor' mode],  I spent a good ten minutes  telling Emacs what I
thought of it.   (The response was, 'Perhaps you could  try to be less
abusive.')"  -- Matt Welsh

pgsql-general by date:

Previous
From: Zlatko Matić
Date:
Subject: remote connection, web hosting, IP adress
Next
From: "A. Kretschmer"
Date:
Subject: Re: remote connection, web hosting, IP adress