- Notifications
You must be signed in to change notification settings - Fork28
Commit93ea78b
committed
Fix EXPLAIN ANALYZE output for Parallel Hash.
In a race case, EXPLAIN ANALYZE could fail to display correct nbatchand size information. Refactor so that participants report only onbatches they worked on rather than trying to report on all of them,and teach explain.c to consider the HashInstrumentation object fromall participants instead of picking the first one it can find. Thisshould fix an occasional build farm failure in the "join" regressiontest.Author: Thomas MunroReviewed-By: Andres FreundDiscussion:https://postgr.es/m/30219.1514428346%40sss.pgh.pa.us1 parent6078770 commit93ea78b
File tree
4 files changed
+62
-51
lines changed- src
- backend
- commands
- executor
- include/executor
4 files changed
+62
-51
lines changedLines changed: 52 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2379 | 2379 |
| |
2380 | 2380 |
| |
2381 | 2381 |
| |
2382 |
| - | |
| 2382 | + | |
2383 | 2383 |
| |
2384 | 2384 |
| |
2385 | 2385 |
| |
2386 | 2386 |
| |
2387 | 2387 |
| |
2388 | 2388 |
| |
2389 |
| - | |
2390 |
| - | |
| 2389 | + | |
2391 | 2390 |
| |
2392 | 2391 |
| |
2393 |
| - | |
2394 |
| - | |
2395 |
| - | |
2396 |
| - | |
2397 |
| - | |
2398 |
| - | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
2399 | 2403 |
| |
2400 | 2404 |
| |
2401 |
| - | |
| 2405 | + | |
2402 | 2406 |
| |
2403 |
| - | |
2404 | 2407 |
| |
2405 | 2408 |
| |
2406 |
| - | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
2407 | 2412 |
| |
2408 |
| - | |
2409 |
| - | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
2410 | 2435 |
| |
2411 | 2436 |
| |
2412 | 2437 |
| |
2413 | 2438 |
| |
2414 |
| - | |
| 2439 | + | |
2415 | 2440 |
| |
2416 |
| - | |
| 2441 | + | |
2417 | 2442 |
| |
2418 | 2443 |
| |
2419 | 2444 |
| |
2420 |
| - | |
| 2445 | + | |
2421 | 2446 |
| |
2422 |
| - | |
2423 |
| - | |
| 2447 | + | |
| 2448 | + | |
2424 | 2449 |
| |
2425 |
| - | |
| 2450 | + | |
2426 | 2451 |
| |
2427 | 2452 |
| |
2428 |
| - | |
2429 |
| - | |
| 2453 | + | |
| 2454 | + | |
2430 | 2455 |
| |
2431 | 2456 |
| |
2432 | 2457 |
| |
2433 | 2458 |
| |
2434 |
| - | |
2435 |
| - | |
2436 |
| - | |
2437 |
| - | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
2438 | 2463 |
| |
2439 | 2464 |
| |
2440 | 2465 |
| |
2441 | 2466 |
| |
2442 | 2467 |
| |
2443 | 2468 |
| |
2444 | 2469 |
| |
2445 |
| - | |
| 2470 | + | |
2446 | 2471 |
| |
2447 | 2472 |
| |
2448 | 2473 |
| |
|
Lines changed: 10 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3090 | 3090 |
| |
3091 | 3091 |
| |
3092 | 3092 |
| |
3093 |
| - | |
| 3093 | + | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
| 3097 | + | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
| 3102 | + | |
3094 | 3103 |
| |
3095 | 3104 |
| |
3096 | 3105 |
| |
| |||
3295 | 3304 |
| |
3296 | 3305 |
| |
3297 | 3306 |
| |
3298 |
| - | |
3299 |
| - | |
3300 |
| - | |
3301 |
| - | |
3302 |
| - | |
3303 |
| - | |
3304 |
| - | |
3305 |
| - | |
3306 |
| - | |
3307 |
| - | |
3308 |
| - | |
3309 |
| - | |
3310 |
| - | |
3311 |
| - | |
3312 |
| - | |
3313 |
| - |
Lines changed: 0 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1186 | 1186 |
| |
1187 | 1187 |
| |
1188 | 1188 |
| |
1189 |
| - | |
1190 |
| - | |
1191 |
| - | |
1192 |
| - | |
1193 |
| - | |
1194 |
| - | |
1195 | 1189 |
| |
1196 | 1190 |
| |
1197 | 1191 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 | 36 |
| |
38 | 37 |
| |
39 | 38 |
| |
|
0 commit comments
Comments
(0)