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 20170614160009.GA4751@momjian.us
Whole thread Raw
In response to Re: [GENERAL] pg_upgrade --link on Windows  ("Klaus P. Pieper" <kpi6288@gmail.com>)
List pgsql-general
On Wed, Jun 14, 2017 at 09:59:04AM +0200, Klaus P. Pieper wrote:
> > -----Ursprüngliche Nachricht-----
> >
> > I apologize for not being smarter on this thread.  When I helped with the
> > Windows port, I was told Windows didn't have hard links for use by
> tablespace
> > directories, so I got it into my head that Windows didn't have hard links.
> > Therefore, when I was writing the docs, I called them junction points.
>
> It's actually not "Windows" providing hard links, it is the file system
> NTFS. FAT and its modern cousins don't provide hard links - but this will
> rarely be used for databases these days.
> However, ReFS (introduced with server 2012 and providing some new features
> like automatic integrity checks, clustering etc.) does no longer provide
> hard links.
> Are hard links used anywhere else but in pg_upgrade?

Nope, it is used only by transfer_relfile() calling linkFile().

--
  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: Neil Anderson
Date:
Subject: Re: [GENERAL] pg_catalog tables don't have constraints?
Next
From: Alexander Farber
Date:
Subject: Re: [GENERAL] ERROR: type " " does not exist