Hi, Idle thoughts from a design perspective -- feel free to ignore, since I'm not the target audience for the feature:
- If the column data stored in Postgres contains newlines, it seems like COPY TO won't work "correctly". Is that acceptable? - RAW seems like an okay-ish label, but for something that's doing as much magic end-of-line detection as this patch is, I'd personally prefer SINGLE (as in, "single column"). - Speaking of magic end-of-line detection, can there be a way to turn that off? Say, via DELIMITER? - Generic DELIMITER support, for any single-byte separator at all, might make a "single-column" format more generally applicable. But I might be over-architecting. And it would make the COPY TO issue even worse... Thanks, --Jacob