Re: pg_upgrade - Mailing list pgsql-bugs

From Julien Rouhaud
Subject Re: pg_upgrade
Date
Msg-id CAOBaU_Y+yvzqP1nCD=r+D_yQ0m1TVU6ixrwOfdC1P1H_CkqhBQ@mail.gmail.com
Whole thread Raw
In response to pg_upgrade  (Загороднев Роман Евгеньевич <re.zagorodnev@npff.ru>)
Responses RE: pg_upgrade  (Загороднев Роман Евгеньевич <re.zagorodnev@npff.ru>)
List pgsql-bugs
On Wed, Dec 25, 2019 at 3:17 PM Загороднев Роман Евгеньевич
<re.zagorodnev@npff.ru> wrote:
>
> Hi.
>
> On windows pg_upgrade.exe ignores –k (--link) options and try to copy all data.
>
> Pg_upgrade version 10.10.

This should not be happening.  On windows pg_upgrade uses
CreateHardLinkA()
(https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createhardlinka?redirectedfrom=MSDN)
if -k / --link option is used. The page mentions that only ntfs
filesystem is supported, is this what you're using?  Can you show the
full output of pg_upgrade in verbose mode?



pgsql-bugs by date:

Previous
From: Загороднев Роман Евгеньевич
Date:
Subject: pg_upgrade
Next
From: Загороднев Роман Евгеньевич
Date:
Subject: RE: pg_upgrade