Re: [GENERAL] Problem with \copy

Поиск
Список
Период
Сортировка
От Ken Mort
Тема Re: [GENERAL] Problem with \copy
Дата
Msg-id 199812291537.KAA04299@astor.interport.net
обсуждение исходный текст
Ответ на Problem with \copy  (Marc Eggenberger <me@ieo.ch>)
Список pgsql-general
If your data comes from a non-unix machine then you might have
carragereturn-linefeed pairs as newline delimiter.  I would get a
broken-pipe in this situation.  I wrote a perl script (on the unix
machine) to remove the carraige return ('\r') so that only the line
feed was left ('\n').  This solved my problem.

> I have some problems with importing a large txt db into postgres ... I try to use the \copy db from xyz to import
froma tabulator spaced textfile ... it takes 2-3sec then a "broken pipe" comes up and psql is beeing left .... 


Regards,
Kenneth R. Mort  <kenmort@mort.port.net>
TreeTop Research
Brooklyn, NY, USA

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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Stale porting list?
Следующее
От: "Giovanni Floridia"
Дата:
Сообщение: Subselect question