Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJLYM-0000qY-Rc for pgsql-docs@arkaria.postgresql.org; Fri, 09 Jun 2017 15:10: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 1dJLYL-0004ne-Ml for pgsql-docs@arkaria.postgresql.org; Fri, 09 Jun 2017 15:10:21 +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 1dJLXx-0003PB-U9 for pgsql-docs@postgresql.org; Fri, 09 Jun 2017 15:09:58 +0000 Received: from serveurmail01.codata.be ([82.146.123.190]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJLXv-0007D0-4u for pgsql-docs@postgresql.org; Fri, 09 Jun 2017 15:09:56 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id E3A6F900CE for ; Fri, 9 Jun 2017 17:09:53 +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 2OgoI96dMBFc for ; Fri, 9 Jun 2017 17:09:53 +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 3E225900CC for ; Fri, 9 Jun 2017 17:09:53 +0200 (CEST) To: pgsql-docs@postgresql.org Reply-To: arnaud.listes@codata.eu From: "Arnaud L." Subject: pg_upgrade --link on windows Message-ID: <9427796b-9434-91ec-cd6e-ee0c558487f0@codata.eu> Date: Fri, 9 Jun 2017 17:09:52 +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-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Hi, the pg_upgrade page states that --link uses junction points on windows : "--link use hard links instead of copying files to the new cluster (use junction points on Windows)" I believe this is not correct. It uses hard links. Junction points are soft links to directories, and would not allow the user to remove the old-datadir after a successfull upgrade. Out of safety I ran an upgrade without --link because of this, so I think that clarifying this in the documentation could help some users. Regards -- Arnaud -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs