Re: multiline CSV fields - Mailing list pgsql-hackers

From Tom Lane
Subject Re: multiline CSV fields
Date
Msg-id 5687.1101785710@sss.pgh.pa.us
Whole thread Raw
In response to Re: multiline CSV fields  (Kris Jurka <books@ejurka.com>)
Responses Re: multiline CSV fields  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: multiline CSV fields  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Kris Jurka <books@ejurka.com> writes:
> Endlessly extending the COPY command doesn't seem like a winning 
> proposition to me and I think if we aren't comfortable telling every user 
> to write a script to pre/post-process the data we should instead provide a 
> bulk loader/unloader that transforms things to our limited COPY 
> functionality.  There are all kinds of feature requests I've seen 
> along these lines that would make COPY a million option mess if we try to 
> support all of it directly.

I agree completely --- personally I'd not have put CSV into the backend
either.

IIRC we already have a TODO item for a separate bulk loader, but no
one's stepped up to the plate yet :-(
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: multiline CSV fields
Next
From: Tom Lane
Date:
Subject: Re: Error handling in plperl and pltcl