Re: COPY formatting - Mailing list pgsql-hackers

From Tom Lane
Subject Re: COPY formatting
Date
Msg-id 24654.1079711370@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY formatting  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
Karel Zak <zakkr@zf.jcu.cz> writes:
>  And what  \n in attibutes data  in CSV? I think CSV  format doesn't use
>  some escape for  newline char. It means psql with \copy  cannot be sure
>  with CSV.

I think CSV only allows embedded newlines that are either escaped, or
inside quotes.  COPY doesn't currently have the notion of a quote
character, but that was part of Andrew's proposal ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: COPY formatting
Next
From: Bruce Momjian
Date:
Subject: 7.4.2 Build broken on (Sparc) Solaris 7 and 8