Re: COPY enhancements - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: COPY enhancements
Date
Msg-id 4ACE6919.3080609@dunslane.net
Whole thread Raw
In response to Re: COPY enhancements  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers

Bruce Momjian wrote:
> What would be _cool_ would be to add the ability to have comments in the
> COPY files, like \#, and then the copy data lines and errors could be
> adjacent.  (Because of the way we control COPY escaping, adding \# would
> not be a problem.  We have \N for null, for example.)
>
>   

That wouldn't be of any use with CSV files, which in my experience are 
far more likely to be sources of data errors than input files in 
Postgres Text format.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Using results from INSERT ... RETURNING
Next
From: Bruce Momjian
Date:
Subject: Re: COPY enhancements