Re: Migrating from mysql. - Mailing list pgsql-general

From Alex Pilosov
Subject Re: Migrating from mysql.
Date
Msg-id Pine.BSO.4.10.10005241933220.21733-200000@spider.pilosoft.com
Whole thread Raw
In response to Re: Migrating from mysql.  ("Morten W. Petersen" <morten@src.no>)
List pgsql-general
On Wed, 24 May 2000, Morten W. Petersen wrote:

> > Hi there,
> >
> > I'm migrating from MySQL to PostgreSQL and I was wondering whether someone
> > could help me match some datatypes.
>
> I'm also migrating, and would appreciate any thoughts on how to do
> it. Spesifically, if there could be any problems with functions not
> supported on the PostgreSQL and such.

Quick and extremely, and I mean, extremely, ugly code attached.
It helped me convert some database dumps from mysql to pgsql, however, I
do not even recommend fixing it much, its too damn ugly, and written as a
hack that grew out of control.


(It converts mysql database dump into something that pgsql can load. Or
something that you can manually fix up and then load).


--
Alex Pilosov            | http://www.acecape.com/dsl
CTO - Acecape, Inc.     | AceDSL:The best ADSL in Bell Atlantic area
325 W 38 St. Suite 1005 | (Stealth Marketing Works! :)
New York, NY 10018      |

Attachment

pgsql-general by date:

Previous
From: "Jeffrey H. Johnson"
Date:
Subject: Re: [ANNOUNCE] PostgreSQL 7.0 a success
Next
From: Alex Pilosov
Date:
Subject: Re: Re: [ANNOUNCE] PostgreSQL 7.0 a success