forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1561612
committed
Fix some BufFileRead() error reporting
Remove "%m" from error messages where errno would be bogus. Add shortread byte counts where appropriate.This is equivalent to what was done in7897e3b, but some code was apparentlydeveloped concurrently to that and not updated accordingly.Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/f3501945-c591-8cc3-5ef0-b72a2e0eaa9c@enterprisedb.com1 parent9a740f8 commit1561612
File tree
2 files changed
+21
-15
lines changed- src/backend
- backup
- replication/logical
2 files changed
+21
-15
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
371 | 371 |
| |
372 | 372 |
| |
373 | 373 |
| |
374 |
| - | |
| 374 | + | |
| 375 | + | |
375 | 376 |
| |
376 | 377 |
| |
377 | 378 |
| |
|
Lines changed: 19 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2063 | 2063 |
| |
2064 | 2064 |
| |
2065 | 2065 |
| |
2066 |
| - | |
| 2066 | + | |
2067 | 2067 |
| |
2068 | 2068 |
| |
2069 | 2069 |
| |
| |||
2079 | 2079 |
| |
2080 | 2080 |
| |
2081 | 2081 |
| |
2082 |
| - | |
2083 |
| - | |
| 2082 | + | |
| 2083 | + | |
2084 | 2084 |
| |
2085 | 2085 |
| |
2086 | 2086 |
| |
| |||
2090 | 2090 |
| |
2091 | 2091 |
| |
2092 | 2092 |
| |
2093 |
| - | |
| 2093 | + | |
| 2094 | + | |
2094 | 2095 |
| |
2095 | 2096 |
| |
2096 |
| - | |
2097 |
| - | |
| 2097 | + | |
| 2098 | + | |
2098 | 2099 |
| |
2099 | 2100 |
| |
2100 | 2101 |
| |
| |||
3992 | 3993 |
| |
3993 | 3994 |
| |
3994 | 3995 |
| |
| 3996 | + | |
3995 | 3997 |
| |
3996 | 3998 |
| |
3997 | 3999 |
| |
| |||
4011 | 4013 |
| |
4012 | 4014 |
| |
4013 | 4015 |
| |
4014 |
| - | |
4015 |
| - | |
4016 |
| - | |
| 4016 | + | |
| 4017 | + | |
4017 | 4018 |
| |
4018 | 4019 |
| |
4019 |
| - | |
4020 |
| - | |
| 4020 | + | |
| 4021 | + | |
4021 | 4022 |
| |
4022 | 4023 |
| |
4023 | 4024 |
| |
| |||
4035 | 4036 |
| |
4036 | 4037 |
| |
4037 | 4038 |
| |
4038 |
| - | |
| 4039 | + | |
| 4040 | + | |
| 4041 | + | |
| 4042 | + | |
4039 | 4043 |
| |
4040 | 4044 |
| |
4041 |
| - | |
4042 |
| - | |
| 4045 | + | |
| 4046 | + | |
| 4047 | + | |
4043 | 4048 |
| |
4044 | 4049 |
| |
4045 | 4050 |
| |
|
0 commit comments
Comments
(0)