FS - NTFS.
Used different version (10, 12) and result always the same. In log I see that links was created. But pg_upgrade copies
alldatabases. In destination data folder I see files, not links, and if no free space on disk for copy all data, error
appearwhile upgrade.
-----Original Message-----
From: Julien Rouhaud [mailto:rjuju123@gmail.com]
Sent: Wednesday, December 25, 2019 5:31 PM
To: Загороднев Роман Евгеньевич <re.zagorodnev@npff.ru>
Cc: pgsql-bugs@postgresql.org
Subject: Re: pg_upgrade
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?
Canyou show the full output of pg_upgrade in verbose mode?