Re: [GENERAL] pg_upgrade --link on Windows - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] pg_upgrade --link on Windows
Date
Msg-id 20170609140724.GB21215@momjian.us
Whole thread Raw
In response to [GENERAL] pg_upgrade --link on Windows  ("Arnaud L." <arnaud.listes@codata.eu>)
Responses Re: [GENERAL] pg_upgrade --link on Windows
Re: [GENERAL] pg_upgrade --link on Windows
List pgsql-general
On Fri, Jun  9, 2017 at 12:00:56PM +0200, Arnaud L. wrote:
> Hi
>
> The pg_upgrade documentation for PostgreSQL 9.6 states that --link will use
> junction points on Windows.
> Shouldn't it rather user hard-links ?
> If I'm not mistaken, with junction points (i.e. soft-links to directories),
> the old data dir cannot be removed.
> With hard-links to file, we can get rid of the old data dir once we are sure
> that the upgrade is fine.

I was told junction points on Windows were hard links and no one has
ever complained about not being able to remove them.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: [GENERAL] Limiting DB access by role after initial connection?
Next
From: Fabiana Zioti
Date:
Subject: [GENERAL] Enc: Extending SQL in C using VARIABLE length type in user definedtype