Andrew Dunstan <[EMAIL PROTECTED]> writes:
> +             if (!embedded_line_warning  && (c == '\n' || c == '\r') )
> +             {
> +                     embedded_line_warning = true;
> +                     elog(WARNING,
> +                              "CSV fields with embedded linefeed or carriage 
> return "
> +                              "characters might not be able to be 
> reimported");
> +             }

What about forcibly translating them to the two-character sequences \n
or \r?  Or is that not considered a CSV-compatible representation?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to