Re: pg_upgrade --link on Windows

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Klaus P(dot) Pieper" <kpi6288(at)gmail(dot)com>
Cc: 'PG-General Mailing List' <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade --link on Windows
Date: 2017-06-14 16:00:09
Message-ID: 20170614160009.GA4751@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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(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

Browse pgsql-docs by date

  From Date Subject
Next Message Charles 2017-06-15 04:00:52 pg_restore man page (version 9.4) > -d/dbname clarification request
Previous Message Klaus P. Pieper 2017-06-14 07:59:04 Re: pg_upgrade --link on Windows

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2017-06-14 16:14:24 Re: ERROR: type " " does not exist
Previous Message Neil Anderson 2017-06-14 14:08:01 Re: pg_catalog tables don't have constraints?