Re: errors using COPY from MySQL data

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: errors using COPY from MySQL data
Дата
Msg-id 200304021512.45999.josh@agliodbs.com
обсуждение исходный текст
Ответ на errors using COPY from MySQL data  (Doug Silver <dsilver@urchin.com>)
Список pgsql-novice
Doug,

> I'm sure this has been covered before, but I'm quickly getting frustrated
> copying 100 lines at a time.  I did a data dump from a MySQL table, one of
> the fields is a timestamp which it output as '20020816:23:44', so I changed
> it to '20020816 23:44'.  But, I'm now consistently getting this error:

Hey, we can't help it if mysqldump's data formatting sucks.  :-(

Fortunately, there is hope:
http://docman.sourceforge.net/home_html/projects/sql/mysql2pgsql
Also see Techdocs (http://techdocs.postgresql.org) for additional
MySQL-to-Postgres help & tips.


--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Timestamp with time zone change (error) in 7.3.2?
Следующее
От: Ulli Mueckstein
Дата:
Сообщение: call analyze from stored procedure in C