mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
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
This commit is contained in:
parent
5c62ecf6ec
commit
103ed24e31
@ -532,15 +532,9 @@ NET STOP postgresql-&majorversion;
|
||||
</para>
|
||||
|
||||
<para>
|
||||
For Windows users, you must be logged into an administrative account, and
|
||||
then start a shell as the <literal>postgres</literal> user and set the proper path:
|
||||
|
||||
<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.:
|
||||
For Windows users, you must be logged into an administrative account,
|
||||
and then run <application>pg_upgrade</application> with quoted
|
||||
directories, e.g.:
|
||||
|
||||
<programlisting>
|
||||
pg_upgrade.exe
|
||||
|
Loading…
Reference in New Issue
Block a user