forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit15a8f8c
committed
Fix IndexOnlyScan counter for heap fetches in parallel mode
The HeapFetches counter was using a simple value in IndexOnlyScanState,which fails to propagate values from parallel workers; so the counts arewrong when IndexOnlyScan runs in parallel. Move it to Instrumentation,like all the other counters.While at it, change INSERT ON CONFLICT conflicting tuple counter to usethe new ntuples2 instead of nfiltered2, which is a blatant misuse.Discussion:https://postgr.es/m/20180409215851.idwc75ct2bzi6tea@alvherre.pgsql1 parent1a40485 commit15a8f8c
File tree
6 files changed
+13
-13
lines changed- src
- backend
- commands
- executor
- include
- executor
- nodes
6 files changed
+13
-13
lines changedLines changed: 3 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1459 | 1459 |
| |
1460 | 1460 |
| |
1461 | 1461 |
| |
1462 |
| - | |
1463 |
| - | |
1464 |
| - | |
1465 |
| - | |
1466 |
| - | |
1467 |
| - | |
| 1462 | + | |
| 1463 | + | |
1468 | 1464 |
| |
1469 | 1465 |
| |
1470 | 1466 |
| |
| |||
3132 | 3128 |
| |
3133 | 3129 |
| |
3134 | 3130 |
| |
3135 |
| - | |
| 3131 | + | |
3136 | 3132 |
| |
3137 | 3133 |
| |
3138 | 3134 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
| 159 | + | |
159 | 160 |
| |
160 | 161 |
| |
161 | 162 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
165 |
| - | |
| 165 | + | |
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
| |||
509 | 509 |
| |
510 | 510 |
| |
511 | 511 |
| |
512 |
| - | |
513 | 512 |
| |
514 | 513 |
| |
515 | 514 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
461 | 461 |
| |
462 | 462 |
| |
463 | 463 |
| |
464 |
| - | |
| 464 | + | |
465 | 465 |
| |
466 | 466 |
| |
467 | 467 |
| |
| |||
476 | 476 |
| |
477 | 477 |
| |
478 | 478 |
| |
479 |
| - | |
| 479 | + | |
480 | 480 |
| |
481 | 481 |
| |
482 | 482 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1004 | 1004 |
| |
1005 | 1005 |
| |
1006 | 1006 |
| |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
1007 | 1012 |
| |
1008 | 1013 |
| |
1009 | 1014 |
| |
| |||
1368 | 1373 |
| |
1369 | 1374 |
| |
1370 | 1375 |
| |
1371 |
| - | |
1372 | 1376 |
| |
1373 | 1377 |
| |
1374 | 1378 |
| |
| |||
1387 | 1391 |
| |
1388 | 1392 |
| |
1389 | 1393 |
| |
1390 |
| - | |
1391 | 1394 |
| |
1392 | 1395 |
| |
1393 | 1396 |
| |
|
0 commit comments
Comments
(0)