Re: Error while importing CSV file

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: Error while importing CSV file
Дата
Msg-id CAF-3MvNct63NFvO2bPs_VgN3Hede8pw=y_FUtYrCvnjtNK7HLA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Error while importing CSV file  (Lockas <w_ward_w@hotmail.com>)
Список pgsql-general
On 6 February 2012 07:37, Lockas <w_ward_w@hotmail.com> wrote:
> I've tried a lot of sizes
> but I still have messages in my log saying:
>
> *  ---
>  ERROR:  value too long for type character varying(200)
>  --- *
>
> Why is this? There are no other varchar(200) columns in my DB at all,
> no other table. Only this column used to be 25 characters and using
> the alter type command I changed it to 200. It looks alright, the column
> also
> accepts the value, but the error is logged.
>
> I'm confused. How to stop the error?

Perhaps your CSV file doesn't put each record on a new line or
contains an escape at the end of a line that makes the next line part
of it?

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

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

Предыдущее
От: Misa Simic
Дата:
Сообщение: Re: Triggering a function on table overwrite
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Why extract( ... from timestamp ) is not immutable?