does pg_upgrade on Windows use junction points or hard links?

Started by Holger Jakobsover 8 years ago2 messagesdocs
Jump to latest
#1Holger Jakobs
holger@jakobs.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/pgupgrade.html
Description:

https://www.postgresql.org/docs/9.6/static/pgupgrade.html states that
junction points are created when --link is used.

https://msdn.microsoft.com/en-us/library/windows/desktop/aa365006(v=vs.85).aspx
says that junction points are "soft links" (symbolic links in Unix speak),
which would be disastrous if the original data directory is being purged
afterwards.

Is the documentation incorrect?
Is the program correct?

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Holger Jakobs (#1)
Re: does pg_upgrade on Windows use junction points or hard links?

On 7/27/17 09:24, holger@jakobs.com wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/pgupgrade.html
Description:

https://www.postgresql.org/docs/9.6/static/pgupgrade.html states that
junction points are created when --link is used.

https://msdn.microsoft.com/en-us/library/windows/desktop/aa365006(v=vs.85).aspx
says that junction points are "soft links" (symbolic links in Unix speak),
which would be disastrous if the original data directory is being purged
afterwards.

Is the documentation incorrect?
Is the program correct?

It actually uses hard links on Windows as well. The documentation has
been fixed and will appear correctly in the next minor releases.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs