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 23711.1150295499@sss.pgh.pa.us
Whole thread Raw
In response to Re: CSV mode option for pg_dump  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: CSV mode option for pg_dump  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I agree with Andrew.  If there are bugs in CSV, then we should fix them,
> not avoid give users this usability improvement.

The case for it being a usability improvement seems very weak to me;
no one has yet demonstrated an actual use-case where someone would pull
CSV data out of pg_dump output instead of just dumping the table
directly with COPY.  Now the "anti" case is admittedly hypothetical:
I'm supposing that we will eventually be bitten by portability problems
with CSV-style dumps not being loadable into future versions.  But given
the weak nature of the "pro" case, I think we should be conservative
and not take that risk.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] PL/pgSQL: SELECT INTO EXACT
Next
From: Bruce Momjian
Date:
Subject: Re: CSV mode option for pg_dump