pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
does pg_upgrade on Windows use junction points or hard links?
2+ messages / 2 participants
[nested] [flat]

* does pg_upgrade on Windows use junction points or hard links?
@ 2017-07-27 13:24  holger@jakobs.com
  0 siblings, 1 reply; 2+ messages in thread

From: holger@jakobs.com @ 2017-07-27 13:24 UTC (permalink / raw)
  To: pgsql-docs

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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: does pg_upgrade on Windows use junction points or hard links?
@ 2017-07-31 18:38  Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  parent: holger@jakobs.com
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2017-07-31 18:38 UTC (permalink / raw)
  To: holger@jakobs.com; 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 &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


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-07-31 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-07-27 13:24 does pg_upgrade on Windows use junction points or hard links? holger@jakobs.com
2017-07-31 18:38 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox