Re: Official Windows Installer and Documentation - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: Official Windows Installer and Documentation
Date
Msg-id 20220728014219.6sxz3ql4xwymhpua@jrouhaud
Whole thread Raw
In response to Re: Official Windows Installer and Documentation  (Thomas Kellerer <shammat@gmx.net>)
Responses Re: Official Windows Installer and Documentation
List pgsql-hackers
Hi,

On Wed, Jul 27, 2022 at 11:36:11PM +0200, Thomas Kellerer wrote:
> David G. Johnston schrieb am 27.07.2022 um 21:21:
> > And then there is the issue of file ownership.
> > 
> > Assuming we want better documentation for this specific issue for
> > back-patching what would that look like?
> > 
> > Going forward should our installer be creating the postgres user for
> > consistency with other platforms or not?
> 
> Didn't the installer used to do that in earlier releases and that
> was removed when Postgres was able to "drop privileges" when the
> service is started?
> 
> I remember a lot of problems around the specific Postgres service
> account when that still was the case.

Note that there's no "official" Windows installer, and companies providing one
are free to implement it the way they want, which can contradict the official
documentation.  The download section of the website clearly says that this is a
third-party installer.

For now there's only the EDB installer that remains, but I think that some time
ago there was 2 or 3 different providers.

For the EDB installer, I'm not sure why or when it was changed, but it indeed
used to have a dedicated local account and now relies on "Local System Account"
or something like that.  But IIRC, when it used to create a local account the
name could be configured, so there was no guarantee of a local "postgres"
account by then either.



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Introduce wait_for_subscription_sync for TAP tests
Next
From: Robert Haas
Date:
Subject: Re: collect_corrupt_items_vacuum.patch