Search Postgresql Archives

Re: Embed PostgreSQL in application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lukas@xxxxxxxxxx (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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux