Re: MySQL to Postgresql schema conversion - Mailing list pgsql-general

From Merlin Moncure
Subject Re: MySQL to Postgresql schema conversion
Date
Msg-id b42b73150809300944s43009deew529cd664f78ec2b2@mail.gmail.com
Whole thread Raw
In response to MySQL to Postgresql schema conversion  ("Sean Davis" <sdavis2@mail.nih.gov>)
List pgsql-general
On Tue, Sep 30, 2008 at 10:08 AM, Sean Davis <sdavis2@mail.nih.gov> wrote:
> There are a number of mysql to postgresql converters available, but
> many of them have significant shortcomings.  Has anyone found a tool
> that works well?  I am trying to convert a couple of relatively large,
> public schema to postgresql.

It can for the most part be done with text replacement with a good
editor, or use sed.  It's not that difficult.

The data is even easier...a lot of times you can import a mysql (data
only) dump directly into postgresql if you pass the right options to
mysqldump.

There are several tools that automate this process. One such tool is
DTS from microsoft.  Lately though I see less and less value in things
like this when the same thing can be done with regex/sed.

merlin

pgsql-general by date:

Previous
From: "Dot Yet"
Date:
Subject: Re: Alias name from subquery
Next
From: "Merlin Moncure"
Date:
Subject: Re: Can't cast from char to integer...