Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLYaA-0005zX-Qe for pgsql-docs@arkaria.postgresql.org; Thu, 15 Jun 2017 17:29:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dLYaA-0000Fd-60 for pgsql-docs@arkaria.postgresql.org; Thu, 15 Jun 2017 17:29:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dLYZl-00075B-VK; Thu, 15 Jun 2017 17:28:58 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dLYZj-0003i9-HT; Thu, 15 Jun 2017 17:28:56 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1dLYZg-0003zH-FJ; Thu, 15 Jun 2017 13:28:52 -0400 Date: Thu, 15 Jun 2017 13:28:52 -0400 From: Bruce Momjian To: Adrian Klaver Cc: arnaud.listes@codata.eu, PG-General Mailing List , PostgreSQL-documentation Subject: Re: [GENERAL] pg_upgrade --link on Windows Message-ID: <20170615172852.GB24069@momjian.us> References: <8da3dbd9-7daf-5589-0cc8-0eede930a492@codata.eu> <20170609140724.GB21215@momjian.us> <0405d125-929b-ab4a-b7be-d49c09e7c056@aklaver.com> <20170613200748.GB13879@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170613200748.GB13879@momjian.us> User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 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 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 + -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs