Re: [DOCS] does pg_upgrade on Windows use junction points or hardlinks? - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: [DOCS] does pg_upgrade on Windows use junction points or hardlinks?
Date
Msg-id 5d2d41b3-50b6-9d7c-5c86-6b2f5534b5ab@2ndquadrant.com
Whole thread Raw
In response to [DOCS] does pg_upgrade on Windows use junction points or hard links?  (holger@jakobs.com)
List pgsql-docs
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


pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [DOCS] remove shmmax example in Linux section
Next
From: Tom Lane
Date:
Subject: Re: [DOCS] remove shmmax example in Linux section