Re: pg_upgrade

Julien Rouhaud <[email protected]> Wed, 25 Dec 2019 15:30:34 +0100
Newsgroups gmane.comp.db.postgresql.bugs
Message-ID <CAOBaU_Y+yvzqP1nCD=r+D_yQ0m1TVU6ixrwOfdC1P1H_CkqhBQ@mail.gmail.com>
On Wed, Dec 25, 2019 at 3:17 PM Загороднев Роман Евгеньевич
<[email protected]> 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?