Re: CSV mode option for pg_dump

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: CSV mode option for pg_dump
Дата
Msg-id 448DAB0D.3000903@dunslane.net
обсуждение исходный текст
Ответ на Re: CSV mode option for pg_dump  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: CSV mode option for pg_dump  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
Joshua D. Drake wrote:
> Andrew Dunstan wrote:
>>
>> Something someone said on IRC just now triggered a little memory  ... 
>> I think we should provide an option to have pg_dump work in CSV mode 
>> rather than text mode. This probably doesn't have much importance in 
>> the case of text dumps, but in custom or tar dumps where you might 
>> want to get at individual data members, having an option for CSVs 
>> that you want to load into some other product might be nice.
>>
>> This should be a pretty low cost item, I expect (good newbie project?)
>
> Uhh... just about any application that can import CSV can import our 
> dumps. It just tell it the delimiter is a tab.
>


No it won't, not if there are tabs in the data.

Why do you think we did CSV in the first place? Precisely because our 
dump does *not* work as a general export mechanism for arbitrary data.

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Extended SERIAL parsing
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: CSV mode option for pg_dump