Page 1 of 1

The installer delete my user from xp

PostPosted: Sun Feb 03, 2008 12:45 am
by becike
Unfortunatelly I use my windows xp username and password (not important why) when try to install postgree with this installer (service user textbox).
Then my windows account deleted. (Actually the documents and settings folder exists, and no file missing, but its really hard to recreate the same user environment).

Re: The installer delete my user from xp

PostPosted: Sun Feb 03, 2008 2:38 am
by APerfect10
Did you enter your existing Windows user account into the middle set of inputs (service user) in the image below?

[imglp8]http://www.pokertracker3.com/templates/products/PT3/docs/images/configuring_postgresql.png[/imglp8]

If you did, that will certainly cause problems. We should put a warning message here and check for an existing user account so that this does not happen in the future.

Best regards,

Derek

Re: The installer delete my user from xp

PostPosted: Sun Feb 03, 2008 2:41 am
by _dave_
IMO you should produce massive warning dialogs if anyone tries to use a name other than "postgres" - to do so certainly qualifies as "advanced" :)

Re: The installer delete my user from xp

PostPosted: Sun Feb 03, 2008 2:44 am
by APerfect10
[quote="_dave_"lkp]IMO you should produce massive warning dialogs if anyone tries to use a name other than "postgres" - to do so certainly qualifies as "advanced" :)[/quotelkp]

I agree. We will get this changed in the next release. Quite frankly, there is no reason to not use "postgres" for the service and database account. Maybe we will default it to postgres and the only way to change is via an advanced configuration and even then we will provide warnings.

I think we would have less overall issues with the pginstaller if everyone was using "postgres".

Best regards,

Derek

Re: The installer delete my user from xp

PostPosted: Sun Feb 03, 2008 2:55 am
by _dave_
Indeed.

I'd be tempted to force the use of "postgres" unless host != localhost.

There are circumstances where someone will need to use another pg user name - those are where they have access to a monster pSQL server, but are not the admin - and these I would think are very very rare, but must be able to function if need be. If host = localhost, this scenario is not possible - so force use of postgres username imo.

Re: The installer delete my user from xp

PostPosted: Sun Feb 03, 2008 9:46 am
by becike
[quote="_dave_"439]IMO you should produce massive warning dialogs if anyone tries to use a name other than "postgres" - to do so certainly qualifies as "advanced" :)[/quote439]

Maybe this is the best solution. Simple warning about existing users will be deleted, and another dialog if the default username changed.

gl