Re: Running initdb while logged in as Administrator user (Windows) - Mailing list pgsql-general

From Daniel Futerman
Subject Re: Running initdb while logged in as Administrator user (Windows)
Date
Msg-id 6ca02fc80809181239i23ea59e0sa2cd4a7c138438b2@mail.gmail.com
Whole thread Raw
In response to Re: Running initdb while logged in as Administrator user (Windows)  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-general
Thanks for the suggestion.

Maybe i should rephrase my question :
How does the Postgres (8.3) Installer manage to run initdb (when the installation is not installed as a service).
When installing Postgres from the command line (the 'silent' install), initdb can only be run if installing as a service, but I don't require the service, so have to run initdb after the installation, but cannot do this with Admistrative privileges.

Does the installer temporarily revoke these privileges in order to run initdb, and if so, how is this done?



On Thu, Sep 18, 2008 at 8:18 PM, Simon Riggs <simon@2ndquadrant.com> wrote:

On Thu, 2008-09-18 at 19:29 +0200, Daniel Futerman wrote:

> silent install of PostgreSQL

Please shout about it, don't hide it. And look at stackbuilder.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Running initdb while logged in as Administrator user (Windows)
Next
From: "Daniel Futerman"
Date:
Subject: Re: Running initdb while logged in as Administrator user (Windows)