Re: copy command - date

Поиск
Список
Период
Сортировка
От Paul Lambert
Тема Re: copy command - date
Дата
Msg-id 46BFBA03.2070909@autoledgers.com.au
обсуждение исходный текст
Ответ на Re: copy command - date  (novice <user.postgresql@gmail.com>)
Ответы Re: copy command - date
Список pgsql-general
novice wrote:
> I'm using pg version 8.2.4.  What is the best method to load this data?
> I have just a little over 55,000 entries.
>
> db5=>  \copy maintenance FROM test.txt
> ERROR:  invalid input syntax for integer: "3665   OK           SM
> 07/07/13 06:09"
> CONTEXT:  COPY maintenance, line 1, column maintenance_id: "3665   OK
>          SM 07/07/13 06:09"
>

That's not complaining about the date, that is complaining that your
input file does not contain the maintenance_id column.

--
Paul Lambert
Database Administrator
AutoLedgers

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: copy command - date
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: copy command - date