forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8aa02b5
committed
Add ExecStorePinnedBufferHeapTuple.
This allows to avoid an unnecessary pin/unpin cycle when storing atuple in an already pinned buffer into a slot, when the pin isn'tfurther needed at the call site.Only a single caller for now (to ensure coverage), but upcomingpatches will increase use of the new function.Author: Andres FreundDiscussion:https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de1 parentf4b6341 commit8aa02b5
File tree
3 files changed
+60
-19
lines changed- src
- backend/executor
- include/executor
3 files changed
+60
-19
lines changedLines changed: 52 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 |
| |
79 | 83 |
| |
80 | 84 |
| |
| |||
743 | 747 |
| |
744 | 748 |
| |
745 | 749 |
| |
746 |
| - | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
747 | 753 |
| |
748 | 754 |
| |
749 | 755 |
| |
| |||
792 | 798 |
| |
793 | 799 |
| |
794 | 800 |
| |
795 |
| - | |
796 |
| - | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
797 | 804 |
| |
798 | 805 |
| |
799 | 806 |
| |
| |||
813 | 820 |
| |
814 | 821 |
| |
815 | 822 |
| |
816 |
| - | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
817 | 826 |
| |
818 | 827 |
| |
819 | 828 |
| |
| |||
824 | 833 |
| |
825 | 834 |
| |
826 | 835 |
| |
| 836 | + | |
827 | 837 |
| |
828 |
| - | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
829 | 849 |
| |
830 | 850 |
| |
831 | 851 |
| |
| |||
1321 | 1341 |
| |
1322 | 1342 |
| |
1323 | 1343 |
| |
1324 |
| - | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
1325 | 1370 |
| |
1326 | 1371 |
| |
1327 | 1372 |
| |
|
Lines changed: 5 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
379 | 379 |
| |
380 | 380 |
| |
381 | 381 |
| |
382 |
| - | |
| 382 | + | |
383 | 383 |
| |
384 |
| - | |
385 |
| - | |
386 |
| - | |
387 |
| - | |
388 |
| - | |
389 |
| - | |
390 |
| - | |
391 |
| - | |
392 |
| - | |
393 |
| - | |
394 |
| - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
395 | 388 |
| |
396 | 389 |
| |
397 | 390 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
305 | 305 |
| |
306 | 306 |
| |
307 | 307 |
| |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 |
| |
309 | 312 |
| |
310 | 313 |
| |
|
0 commit comments
Comments
(0)