forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbb60f2c

Amit Kapila
Fix pg_verify_checksums on Windows.
To verify the checksums, we open the file in text mode which doesn't workon Windows as WIN32 treats Control-Z as EOF in files opened in text mode.This leads to "short read of block .." error in some cases.Fix it by opening the files in the binary mode.Author: Amit KapilaReviewed-by: Magnus HaganderBackpatch-through: 11Discussion:https://postgr.es/m/CAA4eK1+LOnzod+h85FGmyjWzXKy-XV1FYwEyP-Tky2WpD5cxwA@mail.gmail.com1 parent2e39f69 commitbb60f2c
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
|
0 commit comments
Comments
(0)