diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index 405999f6ad3..8f7a3025c36 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -773,8 +773,10 @@ psql --username=postgres --file=script.sql postgres
with a timestamp formatted as per ISO 8601
(%Y%m%dT%H%M%S), where all its generated files are
stored.
- pg_upgrade_output.d and all its contained files may be
- removed once the upgrade is successfully completed.
+ pg_upgrade_output.d and its contained files will be
+ removed automatically if pg_upgrade completes
+ successfully; but in the event of trouble, the files there may provide
+ useful debugging information.