Re: pg_upgrade --link on Windows

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Arnaud L(dot)" <arnaud(dot)listes(at)codata(dot)eu>
Cc: PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade --link on Windows
Date: 2017-06-09 14:07:24
Message-ID: 20170609140724.GB21215@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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(at)momjian(dot)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 +

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Adrian Klaver 2017-06-09 14:24:03 Re: pg_upgrade --link on Windows
Previous Message Arnaud L. 2017-06-09 10:00:56 pg_upgrade --link on Windows

Browse pgsql-general by date

  From Date Subject
Next Message Fabiana Zioti 2017-06-09 14:18:13 Enc: Extending SQL in C using VARIABLE length type in user defined type
Previous Message Joe Conway 2017-06-09 13:42:34 Re: Limiting DB access by role after initial connection?