Re: Embedding Postgres "inside" an application

From: Harald Fuchs <nospam(at)sap(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Embedding Postgres "inside" an application
Date: 2003-08-28 09:43:24
Message-ID: puhe42azib.fsf@srv.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <m3u182mt25(dot)fsf(at)varsoon(dot)wireboard(dot)com>,
Doug McNaught <doug(at)mcnaught(dot)org> writes:

> Joe Lester <joe_lester(at)sweetwater(dot)com> writes:
>> Does anyone know if there's a way to embed the Postgres database
>> inside an application... so that it runs transparently, without the
>> user even having to know it's there? I would prefer to use Postgres,
>> but I fear that I may have to resort to mySQL or some other SQL
>> database that can be embedded.

> You can't prevent the server from running as a separate process
> (without hugely major surgery) but you can certainly embed the server
> in your app bundle and run it "behind the scenes". Picking a place
> for the data files, etc might be a little tricky, but it should all be
> doable.

> AFAIK, MySQL also has to run as a server--I don't think you can link
> to it as a library and access its databases from a single process.

Wrong. MySQL comes in two flavors, as a standalone server and as an
embedded library.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zygmuntowicz Michal 2003-08-28 09:57:23 Re: plpgsql FOUND Variable
Previous Message Ron Johnson 2003-08-28 09:31:16 Re: SQL Command - To List Tables ?