Skip site navigation (1) Skip section navigation (2)

Re: win32 pgsql not installable

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>,<pgsql-hackers-win32(at)postgresql(dot)org>
Cc: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: win32 pgsql not installable
Date: 2004-07-27 21:00:50
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BF41@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
>I know I'm going to go on some people's nerves, but it's necessary.
>
>With the current "run-as-non-admin" restriction the windows installer 
>doesn't work, and it will probably be ridiculously difficult 
>to make it 
>work unless this restriction is redesigned.

Not commenting on the other parts, but *huh*? The windows installer
works just fine. It does require that you manually set up a non-admin
account, but it certainly *works*...


>I don't see any point in restricting postgres.exe (i.e. the 
>single user 
>non-communicating version) to non-superusers. Installations 
>are usually 
>executed with admin privileges (non-admins won't be able to create 
>services), and currently it fails to initialize the cluster with that 
>d***d message. Consequently, it rolls back the complete installation 
>leaving me at point zero.

The installer already takes care of this, and executes initdb with the
permissions of the service account, not the installer account. 
The installer should probably check for admin permissions before
accepting the account, though.
If this does not work for you, it's a bug in the installer, or an
incorrectly set up service account.

I'm no longer commenting on the other part of the discussion :-), but
the workarounds are in place and working in the installer. Assuming you
do the service install, otherwise you have to do it manually.


//Magnus

Responses

pgsql-hackers-win32 by date

Next:From: Dave PageDate: 2004-07-27 21:01:34
Subject: Re: win32 pgsql not installable
Previous:From: Bruno Wolff IIIDate: 2004-07-27 19:49:05
Subject: Re: [ADMIN] Secure DB Systems - How to

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group