Re: Embed PostgreSQL in application

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: Embed PostgreSQL in application
Дата
Msg-id 60slwjmrw1.fsf@dba2.int.libertyrms.com
обсуждение исходный текст
Ответ на Embed PostgreSQL in application  (Lukas Demetz <lukas@digiem.net>)
Список 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 по дате отправления:

Предыдущее
От: Zlatko Matić
Дата:
Сообщение: remote connection, web hosting, IP adress
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: remote connection, web hosting, IP adress