Re: errors using COPY from MySQL data - Mailing list pgsql-novice

From Josh Berkus
Subject Re: errors using COPY from MySQL data
Date
Msg-id 200304021512.45999.josh@agliodbs.com
Whole thread Raw
In response to errors using COPY from MySQL data  (Doug Silver <dsilver@urchin.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Timestamp with time zone change (error) in 7.3.2?
Next
From: Ulli Mueckstein
Date:
Subject: call analyze from stored procedure in C