Re: [GENERAL] MySQL -> Postgres dump converter

From: Max Rudensky <fonin(at)ziet(dot)zhitomir(dot)ua>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: lockhart(at)fourpalms(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [GENERAL] MySQL -> Postgres dump converter
Date: 2001-01-25 09:59:37
Message-ID: 20010125115937.0342ee7a.fonin@ziet.zhitomir.ua
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Guys,

Thomas said he won't look into GPL'ed code for ideas.
Well, I re-read GPL and found that it's up to author whether is to allow or not
to use code for using in programs with another open-source license. So this isn't
a problem - you may use my program and include code to your without limitations.
I even would prefer to change license to BSD or similar
but I didn't find in GPL ideas about that.

Max Rudensky.

On Wed, 24 Jan 2001 11:06:12 -0500 (EST)
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:

>
> Can someone look at both versions and merge the improvements into our
> version? Should be pretty easy.
>
> > > Can some PostgreSQL people comment on this? This person wrote a
> > > MySQL->PostgreSQL converter too. His version is at:
> > > http://ziet.zhitomir.ua/~fonin/code
> >
> > -- THIS VERSION IS EXTREMELY BUGSOME ! USE IT ON YOUR OWN RISK !!!
> >
> > Hmm. My version does not have this feature, but it could be added ;)
> >
> > Seriously, I haven't looked at the differences, but there is a licensing
> > difference (BSD vs GPL). Someone else with experience with MySQL should
> > evaluate both packages.
> >
> > mysql2pgsql has been used to convert SourceForge, with ~90 tables and
> > moderately complicated schema, but that did not include enumerated types
> > (done with ints at SF) and "unique" keys (done with sequences at SF)
> > afaicr.
> >
> > > Sucks found:...
> >
> > Each is a one-liner to fix in mysql2pgsql. The (nonstandard) types
> > mentioned weren't used in the test cases I had available. I didn't
> > realize that we had *any* reports of troubles or lacking features in the
> > existing converter, but I'll leave it up to y'all to decide if the
> > licensing issues and feature issues are significant.
> >
> > I'm willing to provide patches to address some of the concerns, but of
> > course will not be able to look at the GPL'd code for hints and can only
> > use the information posted here to help afaik.
> >
> > Comments?
> >
> > - Thomas
> >
>
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter T Mount 2001-01-25 10:06:16 Re: Open 7.1 items
Previous Message Zeugswetter Andreas SB 2001-01-25 09:21:01 AW: [HACKERS] WAL documentation