forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7124c93

Amit Kapila
Match the buffer usage tracking for leader and worker backends.
In the leader backend, we don't track the buffer usage for ExecutorStartphase whereas in worker backend we track it for ExecutorStart phase aswell. This leads to different value for buffer usage stats for theparallel and non-parallel query. Change the code so that worker backendalso starts tracking buffer usage after ExecutorStart.Author: Amit Kapila and Robert HaasReviewed-by: Robert Haas and Andres FreundBackpatch-through: 9.6 where this code was introducedDiscussion:https://postgr.es/m/86137f17-1dfb-42f9-7421-82fd786b04a1@anayrat.info1 parent764e21d commit7124c93
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
738 |
| - | |
739 |
| - | |
740 |
| - | |
741 | 738 |
| |
742 | 739 |
| |
743 | 740 |
| |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
744 | 751 |
| |
745 | 752 |
| |
746 | 753 |
| |
|
0 commit comments
Comments
(0)