Re: Plan for CSV handling of quotes, NULL - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: Plan for CSV handling of quotes, NULL
Date
Msg-id 2630.24.211.141.25.1082005222.squirrel@www.dunslane.net
Whole thread Raw
In response to Plan for CSV handling of quotes, NULL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Plan for CSV handling of quotes, NULL
List pgsql-patches
Bruce Momjian said:
> So, for open CSV items we have:
>
>     o  add oid dump/reload


There seems to be agreement on this at least. All you need to do is remove
these lines - AFAICS the OID code should be able to be happily non-CSV-
aware.

       /*
        * Don't allow OIDs in CSV mode
        */

       if (csv_mode && oids)  // FIX ME bjm
               ereport(ERROR,
                       (errcode(ERRCODE_SYNTAX_ERROR),
                        errmsg("Cannot specify OIDS in CSV mode ")));



cheers

andrew






pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Plan for CSV handling of quotes, NULL
Next
From: Tom Lane
Date:
Subject: Re: Plan for CSV handling of quotes, NULL