Doc: add some commentary about ExecutorRun's NoMovement special case.
Tom Lane <tgl@sss.pgh.pa.us>
Doc: add some commentary about ExecutorRun's NoMovement special case. Robert Haas expressed concern about whether commit 3eea7a0c9 exposed the parallel-execution machinery to a case it isn't tested for, namely a second non-parallel execution of a plan after a parallel execution. Investigation shows that that can't happen because of pquery.c's manipulation of the scan direction, but it sure wasn't obvious to start with. Add some commentary about that. Discussion: https://postgr.es/m/CA+TgmoagyKQy=HFw+wLo0AKTYWHui+iKswZ8Jnqqd-cFby-WVg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execMain.c | modified | +10 −1 |
Discussion
- Assert failure on running a completed portal again 17 messages · 2024-12-05 → 2024-12-11