doc: remove RUNAS instructions for pg_upgrade on Windows

None of our other tools have such a recommendation.

Reported-by: David G. Johnston

Discussion: https://postgr.es/m/CAKFQuwbpqP_DB8WhthnwbsUOT_qB=AK3PpBMmmMsYvENQFHhEg@mail.gmail.com

Backpatch-through: master
pull/146/head
Bruce Momjian 2 years ago
parent 5c62ecf6ec
commit 103ed24e31
  1. 12
      doc/src/sgml/ref/pgupgrade.sgml

@ -532,15 +532,9 @@ NET STOP postgresql-&majorversion;
</para> </para>
<para> <para>
For Windows users, you must be logged into an administrative account, and For Windows users, you must be logged into an administrative account,
then start a shell as the <literal>postgres</literal> user and set the proper path: and then run <application>pg_upgrade</application> with quoted
directories, e.g.:
<programlisting>
RUNAS /USER:postgres "CMD.EXE"
SET PATH=%PATH%;C:\Program Files\PostgreSQL\&majorversion;\bin;
</programlisting>
and then run <application>pg_upgrade</application> with quoted directories, e.g.:
<programlisting> <programlisting>
pg_upgrade.exe pg_upgrade.exe

Loading…
Cancel
Save