Re: generic copy options - Mailing list pgsql-hackers

From Tom Lane
Subject Re: generic copy options
Date
Msg-id 24564.1253469674@sss.pgh.pa.us
Whole thread Raw
In response to Re: generic copy options  (Emmanuel Cecchet <manu@asterdata.com>)
Responses Re: generic copy options
List pgsql-hackers
Emmanuel Cecchet <manu@asterdata.com> writes:
> Here you will force every format to use the same set of options

How does this "force" any such thing?

> and if 
> someone introduces a new option, you will have to modify all other 
> formats to make sure they throw an error telling the user that this 
> option is not supported.

Well, if we do it your way then we will instead need a collection of
code to throw errors for combinations like (xml on, csv_header on).
I don't really see any improvement there.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Emmanuel Cecchet
Date:
Subject: Re: generic copy options
Next
From: Emmanuel Cecchet
Date:
Subject: Re: generic copy options