Skip to content

Commit 103ed24

Browse files
committed
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
1 parent 5c62ecf commit 103ed24

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

doc/src/sgml/ref/pgupgrade.sgml

+3-9
Original file line numberDiff line numberDiff line change
@@ -532,15 +532,9 @@ NET STOP postgresql-&majorversion;
532532
</para>
533533

534534
<para>
535-
For Windows users, you must be logged into an administrative account, and
536-
then start a shell as the <literal>postgres</literal> user and set the proper path:
537-
538-
<programlisting>
539-
RUNAS /USER:postgres "CMD.EXE"
540-
SET PATH=%PATH%;C:\Program Files\PostgreSQL\&majorversion;\bin;
541-
</programlisting>
542-
543-
and then run <application>pg_upgrade</application> with quoted directories, e.g.:
535+
For Windows users, you must be logged into an administrative account,
536+
and then run <application>pg_upgrade</application> with quoted
537+
directories, e.g.:
544538

545539
<programlisting>
546540
pg_upgrade.exe

0 commit comments

Comments
 (0)