diff options
author | Thomas Munro <tmunro@postgresql.org> | 2018-06-10 20:30:25 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2018-06-10 20:30:25 +1200 |
commit | 86a2218eb00eb6f97898945967c5f9c95c72b4c6 (patch) | |
tree | 2b5d6558dd721921e5b1d57349765bf4fae63a40 /src/backend/executor/nodeAppend.c | |
parent | f6b95ff434bff28c0d9b390d5a0ff316847c4fb7 (diff) | |
download | postgresql-86a2218eb00eb6f97898945967c5f9c95c72b4c6.tar.gz postgresql-86a2218eb00eb6f97898945967c5f9c95c72b4c6.zip |
Limit Parallel Hash's bucket array to MaxAllocSize.
Make sure that we don't exceed MaxAllocSize when increasing the number of
buckets. Perhaps later we'll remove that limit and use DSA_ALLOC_HUGE, but
for now just prevent further increases like the non-parallel code. This
change avoids the error from bug report #15225.
Author: Thomas Munro
Reviewed-By: Tom Lane
Reported-by: Frits Jalvingh
Discussion: https://postgr.es/m/152802081668.26724.16985037679312485972%40wrigleys.postgresql.org
Diffstat (limited to 'src/backend/executor/nodeAppend.c')
0 files changed, 0 insertions, 0 deletions