aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2023-11-13 12:40:38 -0500
committerBruce Momjian <bruce@momjian.us>2023-11-13 12:41:04 -0500
commit103ed24e311770510e2faf56a24cb27d297219de (patch)
treef936f35757e646d0b93ae596dc5c5ef61ee2bc92 /doc/src
parent5c62ecf6ec3c912c85a8292a9ad0daa8c0777088 (diff)
downloadpostgresql-103ed24e311770510e2faf56a24cb27d297219de.tar.gz
postgresql-103ed24e311770510e2faf56a24cb27d297219de.zip
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pgupgrade.sgml12
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index 46e8a0b7467..4f78e0e1c0b 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -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