Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJGj3-0000nK-Uk for pgsql-general@arkaria.postgresql.org; Fri, 09 Jun 2017 10:01:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dJGj3-0002WG-Cp for pgsql-general@arkaria.postgresql.org; Fri, 09 Jun 2017 10:01:05 +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 1dJGj1-0002Uc-U6 for pgsql-general@postgresql.org; Fri, 09 Jun 2017 10:01:03 +0000 Received: from serveurmail01.codata.be ([82.146.123.190]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJGix-0005se-Ow for pgsql-general@postgresql.org; Fri, 09 Jun 2017 10:01:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id EB773900CE for ; Fri, 9 Jun 2017 12:00:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at serveurmail01.codata.be Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HtoSpa1wcqDt for ; Fri, 9 Jun 2017 12:00:57 +0200 (CEST) Received: from [10.0.0.100] (38-179-112-217.fix.adsl.belcenter.be [217.112.179.38]) by serveurmail01.codata.be (Postfix) with ESMTPSA id 893B8900CC for ; Fri, 9 Jun 2017 12:00:57 +0200 (CEST) To: PG-General Mailing List Reply-To: arnaud.listes@codata.eu From: "Arnaud L." Subject: pg_upgrade --link on Windows Message-ID: <8da3dbd9-7daf-5589-0cc8-0eede930a492@codata.eu> Date: Fri, 9 Jun 2017 12:00:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 7bit 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 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. Regards -- Arnaud -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general