Re: Plan for CSV handling of quotes, NULL

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Plan for CSV handling of quotes, NULL
Дата
Msg-id 4312.24.211.141.25.1082021572.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Plan for CSV handling of quotes, NULL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Plan for CSV handling of quotes, NULL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian said:
> Andrew Dunstan wrote:
>>
>> copy mytable to 'mydata.csv' csv force zipcode;
>>
>> seems OK to me. I'm all in favor of low-tecH solutions where
>> appropriate. ;-)
>
> Could we have FORCE just force quotes on all values, rather than
> allowing a list of columns to be specified?  Seems if you have a
> strange zipcode field, it would be easier to just do them all.
>

Then dates and numbers would be wrong. No all or nothing switch will work.

cheers

andrew



В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Update french translation of the 7.4 branch
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Plan for CSV handling of quotes, NULL