Re: invalid data in file backup_label problem on windows
David Steele <david@pgmasters.net>
From: David Steele <david@pgmasters.net>
To: Magnus Hagander <magnus@hagander.net>,
Michael Paquier <michael@paquier.xyz>
Cc: Andrew Dunstan <andrew@dunslane.net>,
"wangsh.fnst@fujitsu.com" <wangsh.fnst@fujitsu.com>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2021-03-31T13:33:25Z
Lists: pgsql-hackers
Attachments
- backup-binary-mode-v3.patch (text/plain) patch v3
On 3/29/21 4:34 AM, Magnus Hagander wrote: > On Mon, Mar 29, 2021 at 7:01 AM Michael Paquier <michael@paquier.xyz> wrote: >> >> On Sun, Mar 28, 2021 at 09:29:10AM -0400, Andrew Dunstan wrote: >>> - vital to the backup working, and must be written without modification. >>> + vital to the backup working and must be written without >>> modification, which >>> + may include opening the file in binary mode. >> >> += "on Windows"? > > I'd say no, better to just tell people to always open the file in > binary mode. It's not hurtful anywhere, there's really no reason ever > to open it in text mode. Agreed. New patch attached. Regards, -- -David david@pgmasters.net
Commits
-
doc: Clarify how to generate backup files with non-exclusive backups
- cc7416f3b679 9.6.22 landed
- 89bd8e8b3328 10.17 landed
- eb5e380a08a2 11.12 landed
- 677357047b9c 12.7 landed
- f8c2d491234f 13.3 landed
- 6fb66c268df2 14.0 landed