Re: Error while importing CSV file

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Error while importing CSV file
Дата
Msg-id 201202070653.27895.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на Re: Error while importing CSV file  (Lockas <w_ward_w@hotmail.com>)
Список pgsql-general
On Monday, February 06, 2012 9:43:35 pm Lockas wrote:
> OK .. my offending line number is 4533
> How can i remove it while copying ?

As others have said if it is just the one line remove it manually and then do
the COPY.

If there are many lines and if you will dealing with this on a recurring basis I
would suggest taking a look at pgloader:

http://pgloader.projects.postgresql.org/

There is a bit of learning curve, but it will do the clean up for you.

--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: default database selector
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: How to write in Postgres