Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJKbv-0005UN-La for pgsql-general@arkaria.postgresql.org; Fri, 09 Jun 2017 14:09:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dJKbv-0006HO-8G for pgsql-general@arkaria.postgresql.org; Fri, 09 Jun 2017 14:09:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dJKZW-0000kF-H7 for pgsql-general@postgresql.org; Fri, 09 Jun 2017 14:07:30 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dJKZT-0002AG-1T for pgsql-general@postgresql.org; Fri, 09 Jun 2017 14:07:29 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1dJKZQ-0001os-Ad; Fri, 09 Jun 2017 10:07:24 -0400 Date: Fri, 9 Jun 2017 10:07:24 -0400 From: Bruce Momjian To: "Arnaud L." Cc: PG-General Mailing List Subject: Re: pg_upgrade --link on Windows Message-ID: <20170609140724.GB21215@momjian.us> References: <8da3dbd9-7daf-5589-0cc8-0eede930a492@codata.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8da3dbd9-7daf-5589-0cc8-0eede930a492@codata.eu> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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 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-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general