Windows instructions are incomplete - Mailing list pgsql-docs

From PG Doc comments form
Subject Windows instructions are incomplete
Date
Msg-id 151739987665.1235.12344875501039377952@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/pgupgrade.html
Description:

In set 9. Run pg_upgrade:
It says that windows users should execute this:
RUNAS /USER:postgres "CMD.EXE"

This step does not work unless you create a user called postgres in windows
user management.

Furthermore, the instructions that follow do not work unless you:
1. Add the user to the administrators user group.
2. Give "full control" permission to the postgresql data folders on both the
old and new installations.

I have also found that it is easier to add localhost with "trust" in the
pg_hba.conf while you do the upgrade. Once completed, remove it again.

pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: removal of md5 from example code
Next
From: Bruce Momjian
Date:
Subject: Re: Bug in pg_upgrade standby rsync doc