Re: Running initdb while logged in as Administrator user (Windows)

From: "Daniel Futerman" <daniel(dot)futerman(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Running initdb while logged in as Administrator user (Windows)
Date: 2008-09-18 19:39:06
Message-ID: 6ca02fc80809181239i23ea59e0sa2cd4a7c138438b2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndquadrant(dot)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
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Futerman 2008-09-18 19:47:21 Re: Running initdb while logged in as Administrator user (Windows)
Previous Message Magnus Hagander 2008-09-18 19:35:29 Re: Running initdb while logged in as Administrator user (Windows)