- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit2cd0acf

Amit Kapila
Prohibit shutting down resources if there is a possibility of back up.
Currently, we release the asynchronous resources as soon as it is evidentthat no more rows will be needed e.g. when a Limit is filled. This can beproblematic especially for custom and foreign scans where we can scanbackward. Fix that by disallowing the shutting down of resources in suchcases.Reported-by: Robert HaasAnalysed-by: Robert Haas and Amit KapilaAuthor: Amit KapilaReviewed-by: Robert HaasBackpatch-through: 9.6 where this code was introducedDiscussion:https://postgr.es/m/86137f17-1dfb-42f9-7421-82fd786b04a1@anayrat.info1 parent07172d5 commit2cd0acf
2 files changed
+20
-6
lines changedLines changed: 12 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1726 | 1726 |
| |
1727 | 1727 |
| |
1728 | 1728 |
| |
1729 |
| - | |
1730 |
| - | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
1731 | 1735 |
| |
1732 | 1736 |
| |
1733 | 1737 |
| |
| |||
1773 | 1777 |
| |
1774 | 1778 |
| |
1775 | 1779 |
| |
1776 |
| - | |
1777 |
| - | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
1778 | 1786 |
| |
1779 | 1787 |
| |
1780 | 1788 |
| |
|
Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 |
| |
140 | 146 |
| |
141 | 147 |
| |
|
0 commit comments
Comments
(0)