forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit396e4af
committed
Better error messages for short reads/writes in SLRU
This avoids getting a Could not read from file ...: Success.for a short read or write (since errno is not set in that case).Instead, report a more specific error messages.Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://www.postgresql.org/message-id/flat/5de61b6b-8be9-7771-0048-860328efe027%402ndquadrant.com1 parent4e72a8e commit396e4af
1 file changed
+21
-10
lines changedLines changed: 21 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
920 | 920 |
| |
921 | 921 |
| |
922 | 922 |
| |
923 |
| - | |
924 |
| - | |
925 |
| - | |
926 |
| - | |
927 |
| - | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
928 | 933 |
| |
929 | 934 |
| |
930 |
| - | |
931 |
| - | |
932 |
| - | |
933 |
| - | |
934 |
| - | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
935 | 946 |
| |
936 | 947 |
| |
937 | 948 |
| |
|
0 commit comments
Comments
(0)