On Thu, Apr 9, 2009 at 8:18 PM, Craig Ringer <craig@xxxxxxxxxxxxxxxxxxxxx> wrote: > Tino Wildenhain wrote: > >> The problem here is, Postgres is not an embedded database but really a >> database management system. Therefore trying to bundle it with a desktop >> application will usually cause more headaches. I'd suggest installing >> Postgres as central service > > Note that Windows is designed to allow applications to create services, > start them, stop them, etc. You should have *NO* problems having your > application install PostgreSQL as a service, and start/stop it on > demand. You can do this through the command line (net.exe), the Services > snap-in (services.msc), or via Win32 API calls from your application. Note that if one is going to do this, it's probably a good idea to install your private pgsql into a different default directory and have it answer on a different port than the 5432 one, so that if the user has or will install their own pgsql version your customer version won't get in the way. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general