forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf019c02
committed
Improve handling of pthread_mutex_lock error case
We should really be reporting a useful error along with returninga valid return code if pthread_mutex_lock() throws an error forsome reason. Add that and back-patch to 9.0 as the prior patch.Pointed out by Alvaro Herrera1 parentf310163 commitf019c02
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
265 |
| - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
266 | 270 |
| |
267 | 271 |
| |
268 | 272 |
| |
| |||
1111 | 1115 |
| |
1112 | 1116 |
| |
1113 | 1117 |
| |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
1114 | 1121 |
| |
| 1122 | + | |
1115 | 1123 |
| |
1116 | 1124 |
| |
1117 | 1125 |
| |
| |||
1325 | 1333 |
| |
1326 | 1334 |
| |
1327 | 1335 |
| |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1328 | 1339 |
| |
| 1340 | + | |
1329 | 1341 |
| |
1330 | 1342 |
| |
1331 | 1343 |
| |
|
0 commit comments
Comments
(0)