Re: Two small questions re/ COPY CSV data into table

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Two small questions re/ COPY CSV data into table
Дата
Msg-id 87sgsp8ikd.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: Two small questions re/ COPY CSV data into table  (Matthias Apitz <guru@unixarea.de>)
Ответы Re: Two small questions re/ COPY CSV data into table  (Matthias Apitz <guru@unixarea.de>)
Список pgsql-general
>>>>> "Matthias" == Matthias Apitz <guru@unixarea.de> writes:

 >> That sounds like the file is not actually a CSV - why do you think
 >> it is?

 Matthias> Well, it's not strictly CSV,

In other words it's not a CSV at all.

 Matthias> I do load this now with COPY in mode TEXT and modify the data
 Matthias> before with:

 Matthias>  sed 's/|/\v/g' < table-from-Sybase  | sed 's/\\\v/|/g' > table-for-copy

What on earth is this supposed to achieve?

-- 
Andrew (irc:RhodiumToad)



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

Предыдущее
От: Matthias Apitz
Дата:
Сообщение: Re: Two small questions re/ COPY CSV data into table
Следующее
От: Tomasz Ostrowski
Дата:
Сообщение: Long running query - connection and keepalives enabled but query notcanceled