Re: generic copy options

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: generic copy options
Дата
Msg-id 24564.1253469674@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: generic copy options  (Emmanuel Cecchet <manu@asterdata.com>)
Ответы Re: generic copy options  (Emmanuel Cecchet <manu@asterdata.com>)
Список 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 по дате отправления:

Предыдущее
От: Emmanuel Cecchet
Дата:
Сообщение: Re: generic copy options
Следующее
От: Emmanuel Cecchet
Дата:
Сообщение: Re: generic copy options