- Notifications
You must be signed in to change notification settings - Fork28
Commit05d0f13
committed
Skip setting up shared instrumentation for Hash node if not needed.
We don't need to set up the shared space for hash join instrumentation dataif instrumentation hasn't been requested. Let's follow the example of thesimilar Sort node code and save a few cycles by skipping that when we can.This reverts commitd59ff4a and instead allows us to use the safer choiceof passing noError = false to shm_toc_lookup in ExecHashInitializeWorker,since if we reach that call there should be a TOC entry to be found.Thomas MunroDiscussion:https://postgr.es/m/E1ehkoZ-0005uW-43%40gemulon.postgresql.org1 parentad14919 commit05d0f13
1 file changed
+17
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2549 | 2549 |
| |
2550 | 2550 |
| |
2551 | 2551 |
| |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
2552 | 2556 |
| |
2553 | 2557 |
| |
2554 | 2558 |
| |
| |||
2564 | 2568 |
| |
2565 | 2569 |
| |
2566 | 2570 |
| |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
2567 | 2575 |
| |
2568 | 2576 |
| |
2569 | 2577 |
| |
| |||
2582 | 2590 |
| |
2583 | 2591 |
| |
2584 | 2592 |
| |
2585 |
| - | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
2586 | 2597 |
| |
2587 |
| - | |
2588 |
| - | |
2589 |
| - | |
2590 |
| - | |
2591 |
| - | |
| 2598 | + | |
| 2599 | + | |
2592 | 2600 |
| |
2593 | 2601 |
| |
2594 | 2602 |
| |
| |||
2614 | 2622 |
| |
2615 | 2623 |
| |
2616 | 2624 |
| |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
2617 | 2628 |
| |
2618 | 2629 |
| |
2619 | 2630 |
| |
|
0 commit comments
Comments
(0)