Re: does pg_upgrade on Windows use junction points or hard links?

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: holger(at)jakobs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: does pg_upgrade on Windows use junction points or hard links?
Date: 2017-07-31 18:38:27
Message-ID: 5d2d41b3-50b6-9d7c-5c86-6b2f5534b5ab@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 7/27/17 09:24, holger(at)jakobs(dot)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 &quot;soft links&quot; (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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2017-07-31 18:48:29 Re: remove shmmax example in Linux section
Previous Message Peter Eisentraut 2017-07-31 18:32:43 Re: remove shmmax example in Linux section