forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteeb3c2d
committed
Back off chattiness in RemovePgTempFiles().
In commit561885d, as part of normalizing RemovePgTempFiles's errorhandling, I removed its behavior of silently ignoring ENOENT failuresduring directory opens. Thomas Munro points out that this is a bad idea atthe top level, because we don't create pgsql_tmp directories until needed.Thus this coding could produce LOG messages in perfectly normal situations,which isn't what I intended. Restore the suppression of ENOENT logging,but only at top level --- it would still be unexpected for a nested tempdirectory to disappear between seeing it in the parent directory andopening it.Discussion:https://postgr.es/m/CAEepm=2y06SehAkTnd5sU_eVqdv5P-=Srt1y5vYNQk6yVDVaPw@mail.gmail.com1 parent6271fce commiteeb3c2d
1 file changed
+20
-8
lines changedLines changed: 20 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
321 | 321 |
| |
322 | 322 |
| |
323 | 323 |
| |
324 |
| - | |
| 324 | + | |
| 325 | + | |
325 | 326 |
| |
326 | 327 |
| |
327 | 328 |
| |
| |||
3010 | 3011 |
| |
3011 | 3012 |
| |
3012 | 3013 |
| |
3013 |
| - | |
| 3014 | + | |
3014 | 3015 |
| |
3015 | 3016 |
| |
3016 | 3017 |
| |
| |||
3026 | 3027 |
| |
3027 | 3028 |
| |
3028 | 3029 |
| |
3029 |
| - | |
| 3030 | + | |
3030 | 3031 |
| |
3031 | 3032 |
| |
3032 | 3033 |
| |
| |||
3040 | 3041 |
| |
3041 | 3042 |
| |
3042 | 3043 |
| |
3043 |
| - | |
| 3044 | + | |
3044 | 3045 |
| |
3045 | 3046 |
| |
3046 | 3047 |
| |
3047 | 3048 |
| |
3048 |
| - | |
3049 |
| - | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
3050 | 3056 |
| |
3051 | 3057 |
| |
3052 | 3058 |
| |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
3053 | 3062 |
| |
3054 | 3063 |
| |
3055 |
| - | |
| 3064 | + | |
3056 | 3065 |
| |
3057 | 3066 |
| |
3058 | 3067 |
| |
3059 | 3068 |
| |
3060 | 3069 |
| |
3061 | 3070 |
| |
3062 | 3071 |
| |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
3063 | 3075 |
| |
3064 | 3076 |
| |
3065 | 3077 |
| |
| |||
3087 | 3099 |
| |
3088 | 3100 |
| |
3089 | 3101 |
| |
3090 |
| - | |
| 3102 | + | |
3091 | 3103 |
| |
3092 | 3104 |
| |
3093 | 3105 |
| |
|
0 commit comments
Comments
(0)