- Notifications
You must be signed in to change notification settings - Fork28
Commit80cadb3
committed
Prevent sorting from requesting a SortTuple array that exceeds MaxAllocSize;
we'll go over to disk-based sort if we reach that limit.This fixes Stefan Kaltenbrunner's observation that sorting can suffer an'invalid memory alloc request size' failure when sort_mem is set largeenough. It's unfortunately not so easy to fix in 8.1 ...1 parentb3d0442 commit80cadb3
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
744 | 751 | | |
745 | 752 | | |
746 | 753 | | |
| |||
0 commit comments
Comments
(0)