| От | Tom Lane |
|---|---|
| Тема | Re: Problem with COPY |
| Дата | |
| Msg-id | 5892.1372859504@sss.pgh.pa.us обсуждение |
| Ответ на | Problem with COPY (Brauner Oliveira <brauner.rno@gmail.com>) |
| Ответы |
Re: Problem with COPY
|
| Список | pgsql-novice |
Brauner Oliveira <brauner.rno@gmail.com> writes:
> ERROR: value too long for type character varying(8)
> SQL state: 22001
> Context: COPY $tablename, line 1, column $colum_name: "69900900"
Is that the first field of the first line?
> The file is well formatted and Encoded in UTF-8:
I'm suspicious that you prepared the file in some text editor that
"helpfully" inserted an invisible BOM (byte order mark) character at the
start of the file. Windows editors in particular seem to think this is
a good idea.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера