ERROR: invalid input syntax for integer:

Поиск
Список
Период
Сортировка
От e-letter
Тема ERROR: invalid input syntax for integer:
Дата
Msg-id CAET1fe6jM6V-FFoA=1jvBT+5vuGcONjXKUB=wjaP9MrmZiLUAw@mail.gmail.com
обсуждение исходный текст
Ответы Re: ERROR: invalid input syntax for integer:  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: ERROR: invalid input syntax for integer:  (James Hartley <jjhartley@gmail.com>)
Список pgsql-novice
Readers,

A database table was created with the command:

CREATE TABLE tablename (column1 bigint,date date,time time,column2 text)

a csv file was imported, of structure:

123456,2000-01-01,01:10,"sometext"

Using the command:

\copy tablename from file.csv

Causes the command terminal error:

 input syntax for integer: "123456,2000-01-01,01:10,"sometext""
CONTEXT:  COPY tablename, line 1, column column2: "123456

What is my mistake please?

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: query question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: invalid input syntax for integer: