Re: CSV mode option for pg_dump - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CSV mode option for pg_dump
Date
Msg-id 10999.1150135224@sss.pgh.pa.us
Whole thread Raw
In response to CSV mode option for pg_dump  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: CSV mode option for pg_dump  (Andrew Dunstan <andrew@dunslane.net>)
Re: CSV mode option for pg_dump  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Something someone said on IRC just now triggered a little memory  ... I 
> think we should provide an option to have pg_dump work in CSV mode 
> rather than text mode. This probably doesn't have much importance in the 
> case of text dumps, but in custom or tar dumps where you might want to 
> get at individual data members, having an option for CSVs that you want 
> to load into some other product might be nice.

This is silly.  You'd just COPY the particular table you want, not use
pg_dump.  pg_dump's already got an unreasonably large number of options
without adding ones that have essentially zero use.  Also, I think there
are sufficient grounds to worry about whether a CSV dump would always
reload correctly --- we already know that that's a poorly thought out
"standard".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: CSV mode option for pg_dump
Next
From: "Joshua D. Drake"
Date:
Subject: Re: CSV mode option for pg_dump