Improve coding pattern in Parallel Append code.
Amit Kapila <akapila@postgresql.org>
Improve coding pattern in Parallel Append code. The create_append_path code didn't consider that list_concat will modify it's first argument leading to inconsistent traversal of resulting list. In practice, it won't lead to any user-visible bug but changing it for making the code behave consistently. Reported-by: Tom Lane Author: Tom Lane Reviewed-by: Amit Khandekar and Amit Kapila Discussion: https://postgr.es/m/32365.1528994120@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/util/pathnode.c | modified | +1 −1 |
Discussion
- server crashed with TRAP: FailedAssertion("!(!parallel_aware || pathnode->path.parallel_safe)" 18 messages · 2018-06-14 → 2018-06-22