Re: CSV mode option for pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CSV mode option for pg_dump
Date: 2006-06-12 18:00:24
Message-ID: 10999.1150135224@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-06-12 18:09:58 Re: CSV mode option for pg_dump
Previous Message Josh Berkus 2006-06-12 17:57:54 Re: CSV mode option for pg_dump