Re: [GENERAL] pg_upgrade --link on Windows

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: arnaud(dot)listes(at)codata(dot)eu, PG-General Mailing List <pgsql-general(at)postgresql(dot)org>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [GENERAL] pg_upgrade --link on Windows
Date: 2017-06-15 17:28:52
Message-ID: 20170615172852.GB24069@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general

On Tue, Jun 13, 2017 at 04:07:48PM -0400, Bruce Momjian wrote:
> On Fri, Jun 9, 2017 at 07:55:55AM -0700, Adrian Klaver wrote:
> 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.
>
> Looking back to Postgres 9.0 where pg_upgrade was added to the tree, I
> see that the code even at that time used hard links on Windows. I have
> created the attached patch which I will apply to all current Postgres
> versions to fix this error.
>
> Thanks for the report and the research. :-)

Patch applied all the way back to 9.3, where the junction point mention
first appeared.

--
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-16 05:09:44 Re: pg_restore man page (version 9.4) > -d/dbname clarification request
Previous Message Tom Lane 2017-06-15 15:49:35 Re: Table 9-34 missing an entry in v8.2 documentation

Browse pgsql-general by date

  From Date Subject
Next Message Paul Lavoie 2017-06-15 17:40:26 Re: CREATE FOREIGN TABLE difficulties
Previous Message Adrian Klaver 2017-06-15 17:27:31 Re: CREATE FOREIGN TABLE difficulties