Hi,
the pg_upgrade page states that --link uses junction points on windows :
"--link
use hard links instead of copying files to the new cluster (use
junction points on Windows)"
I believe this is not correct. It uses hard links. Junction points are
soft links to directories, and would not allow the user to remove the
old-datadir after a successfull upgrade.
Out of safety I ran an upgrade without --link because of this, so I
think that clarifying this in the documentation could help some users.
Regards
--
Arnaud