Hi Alvaro,

Thanks for committing the fix!

The new test is failing on master [0] and REL_19_STABLE [1]. On macOS,
with debug_parallel_query=regress, the COPY's parallel worker is
canceled and replay resumes before the second reader connects. On
Windows, the first COPY is canceled before the second cursor is
established. The expected cancellation of the second reader therefore
never happens.

Could we disable forced parallelism for this COPY and ensure the first
pin remains held until the second cursor has fetched? The logs point to
a test synchronization problem.

Best regards, Andrey Borodin.

[0] https://github.com/postgres/postgres/actions/runs/45982262949
[1] https://github.com/postgres/postgres/actions/runs/45982263651



Reply via email to