Обсуждение: [DOCS] does pg_upgrade on Windows use junction points or hard links?

Поиск
Список
Период
Сортировка

[DOCS] does pg_upgrade on Windows use junction points or hard links?

От
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?


Re: [DOCS] does pg_upgrade on Windows use junction points or hardlinks?

От
Peter Eisentraut
Дата:
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