From: | Загороднев Роман Евгеньевич <re(dot)zagorodnev(at)npff(dot)ru> |
---|---|
To: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
Cc: | "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | RE: pg_upgrade |
Date: | 2019-12-25 15:26:51 |
Message-ID: | 4f72335fc4f348fe833847af59e0ad55@mexmbx01.bops.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
FS - NTFS.
Used different version (10, 12) and result always the same. In log I see that links was created. But pg_upgrade copies all databases. In destination data folder I see files, not links, and if no free space on disk for copy all data, error appear while upgrade.
-----Original Message-----
From: Julien Rouhaud [mailto:rjuju123(at)gmail(dot)com]
Sent: Wednesday, December 25, 2019 5:31 PM
To: Загороднев Роман Евгеньевич <re(dot)zagorodnev(at)npff(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_upgrade
On Wed, Dec 25, 2019 at 3:17 PM <re(dot)zagorodnev(at)npff(dot)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?
Attachment | Content-Type | Size |
---|---|---|
pg_upgrade_internal.log | application/octet-stream | 561.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Julien Rouhaud | 2019-12-25 16:04:29 | Re: pg_upgrade |
Previous Message | Julien Rouhaud | 2019-12-25 14:30:34 | Re: pg_upgrade |