Hi Egor,
Sorry for so many extra changes. I promise, this one is good.
I believe it will beneficial to explain how buffer size for each row in COPY BINARY is actually calculated. Instead of hard coded values like 35, 40, 250, I put in comments actual sizes of each field as well as easy to read formulas. IMHO it adds extra value and resolves possible future questions right away.
I greatly appreciate your time spent on this patch.
Best regards,
Boris