forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit86a2218
committed
Limit Parallel Hash's bucket array to MaxAllocSize.
Make sure that we don't exceed MaxAllocSize when increasing the number ofbuckets. Perhaps later we'll remove that limit and use DSA_ALLOC_HUGE, butfor now just prevent further increases like the non-parallel code. Thischange avoids the error from bug report #15225.Author: Thomas MunroReviewed-By: Tom LaneReported-by: Frits JalvinghDiscussion:https://postgr.es/m/152802081668.26724.16985037679312485972%40wrigleys.postgresql.org1 parentf6b95ff commit86a2218
1 file changed
+4
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2818 | 2818 |
| |
2819 | 2819 |
| |
2820 | 2820 |
| |
| 2821 | + | |
2821 | 2822 |
| |
2822 | 2823 |
| |
2823 |
| - | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
2824 | 2827 |
| |
2825 | 2828 |
| |
2826 | 2829 |
| |
|
0 commit comments
Comments
(0)