Hi Ayoub, I applied the patch to the latest master branch. It applied cleanly, compiled without warnings, and all regression tests passed successfully. I also manually verified the CSV output using a test table.
The code changes are clear. The optimization to avoid the redundant strlen() pass by reusing the tptr offset, and bulk-sending the clean prefix when escapec == quotec, makes perfect sense and introduces no logical regressions. Regards, Sahil
