Re: [HACKERS] Remove MySQL Tools from Source?

Lists: pgsql-generalpgsql-hackers
From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Remove MySQL Tools from Source?
Date: 2004-04-13 22:20:16
Message-ID: 200404131520.16265.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Folks,

I'm thinking it's time to remove the "MySQL" conversion tools from the
PostgreSQL source tree and put them somewhere they might be maintained.
I've just done some testing, and neither one works with current versions of
MySQLdump.

--
-Josh Berkus
Aglio Database Solutions
San Francisco


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-14 04:41:29
Message-ID: 494.1081917689@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> I'm thinking it's time to remove the "MySQL" conversion tools from the
> PostgreSQL source tree and put them somewhere they might be maintained.
> I've just done some testing, and neither one works with current versions of
> MySQLdump.

Hmm ... seems like the big question is not "where to keep them" but
"who's gonna maintain them" ... without active maintenance they're
just dead bits wherever they're stored, because MySQL and Postgres
are both moving targets.

These tools are a not insignificant part of our Plan for World
Domination ;-) so it would be good if somebody stepped up to the
plate and volunteered to take care of 'em. Anybody?

regards, tom lane


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-14 16:48:51
Message-ID: 200404140948.51548.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Tom,

> Hmm ... seems like the big question is not "where to keep them" but
> "who's gonna maintain them" ... without active maintenance they're
> just dead bits wherever they're stored, because MySQL and Postgres
> are both moving targets.
>
> These tools are a not insignificant part of our Plan for World
> Domination ;-) so it would be good if somebody stepped up to the
> plate and volunteered to take care of 'em. Anybody?

Well, I'm planning on updating my2pg. Of the 3 packages available (one from
Thomas Lockhart, one from Donna Pavlusinc, and my2pg, originally from Max
Rudensky), it is the most functional. That's kind of a shame, since the Perl
is pretty sloppy, but it does work.

I'd be happy to take the lead as maintainer of my2pg. But, I want to move it
to pgFoundry (due for launch as soon as I get my other 10 super-urgent tasks
out of the way) , and take it out of /contrib. I feel pretty strongly
that it will be more visible and easier to maintain on its own than in
/contrib.

--
Josh Berkus
Aglio Database Solutions
San Francisco


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-14 18:28:35
Message-ID: 200404141828.i3EISZ624789@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Josh Berkus wrote:
> Tom,
>
> > Hmm ... seems like the big question is not "where to keep them" but
> > "who's gonna maintain them" ... without active maintenance they're
> > just dead bits wherever they're stored, because MySQL and Postgres
> > are both moving targets.
> >
> > These tools are a not insignificant part of our Plan for World
> > Domination ;-) so it would be good if somebody stepped up to the
> > plate and volunteered to take care of 'em. Anybody?
>
> Well, I'm planning on updating my2pg. Of the 3 packages available (one from
> Thomas Lockhart, one from Donna Pavlusinc, and my2pg, originally from Max
> Rudensky), it is the most functional. That's kind of a shame, since the Perl
> is pretty sloppy, but it does work.
>
> I'd be happy to take the lead as maintainer of my2pg. But, I want to move it
> to pgFoundry (due for launch as soon as I get my other 10 super-urgent tasks
> out of the way) , and take it out of /contrib. I feel pretty strongly
> that it will be more visible and easier to maintain on its own than in
> /contrib.

And what to do with the other db conversion tools? Seems they should be
kept together.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-14 18:59:28
Message-ID: 200404141159.28908.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Bruce,

> And what to do with the other db conversion tools? Seems they should be
> kept together.

... on projects.postgresql.org, or similar. They really aren't doing any
good in /contrib.

I've already set up a category "conversion tools" on pgFoundry, and my idea
was one project per target system.

--
-Josh Berkus
Aglio Database Solutions
San Francisco


From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-14 19:54:43
Message-ID: 20040414165419.C69932@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

On Wed, 14 Apr 2004, Bruce Momjian wrote:

> > I'd be happy to take the lead as maintainer of my2pg. But, I want to move it
> > to pgFoundry (due for launch as soon as I get my other 10 super-urgent tasks
> > out of the way) , and take it out of /contrib. I feel pretty strongly
> > that it will be more visible and easier to maintain on its own than in
> > /contrib.
>
> And what to do with the other db conversion tools? Seems they should be
> kept together.

Make a 'data conversion' category on projects?

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-14 19:57:52
Message-ID: 200404141957.i3EJvq110980@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Marc G. Fournier wrote:
> On Wed, 14 Apr 2004, Bruce Momjian wrote:
>
> > > I'd be happy to take the lead as maintainer of my2pg. But, I want to move it
> > > to pgFoundry (due for launch as soon as I get my other 10 super-urgent tasks
> > > out of the way) , and take it out of /contrib. I feel pretty strongly
> > > that it will be more visible and easier to maintain on its own than in
> > > /contrib.
> >
> > And what to do with the other db conversion tools? Seems they should be
> > kept together.
>
> Make a 'data conversion' category on projects?

Yea.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-14 20:53:00
Message-ID: 8463.1081975980@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> And what to do with the other db conversion tools? Seems they should be
>> kept together.

> ... on projects.postgresql.org, or similar. They really aren't doing any
> good in /contrib.

Fair enough. They're not tightly tied to the backend, so I see no
strong reason to keep 'em in contrib rather than as independent
projects.

regards, tom lane


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: josh(at)agliodbs(dot)com
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-15 01:22:46
Message-ID: 407DE3E6.4090309@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> ... on projects.postgresql.org, or similar. They really aren't doing any
> good in /contrib.
>
> I've already set up a category "conversion tools" on pgFoundry, and my idea
> was one project per target system.

I reckon that by far the best way to do a mysql2pgsql converter is to
just modify mysqldump C source code to output in postgresql format!

Chris


From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, josh(at)agliodbs(dot)com
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-15 11:27:20
Message-ID: 200404150827.20181.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

El Mié 14 Abr 2004 22:22, Christopher Kings-Lynne escribió:
> > ... on projects.postgresql.org, or similar. They really aren't doing
> > any good in /contrib.
> >
> > I've already set up a category "conversion tools" on pgFoundry, and my
> > idea was one project per target system.
>
> I reckon that by far the best way to do a mysql2pgsql converter is to
> just modify mysqldump C source code to output in postgresql format!

I always ran one of the 2 scripts (can't remember which one) and after that
started checking the dump file, because there were things that didn't get
changed correctly[1].

[1]: I always remember the first conversion I did. I found out that MySQL
accepted dates like 30/2/2000 or 0-0-0000.
Very odd.

--
08:24:01 up 37 days, 12:51, 2 users, load average: 0.91, 0.85, 0.98
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------


From: "Roberto Amorim" <roberto(at)smartbit(dot)inf(dot)br>
To: <pgsql-general(at)postgresql(dot)org>
Subject: How to unsobscreve from this list?
Date: 2004-04-15 11:55:06
Message-ID: 00c101c422e0$7edfee80$18c8a8c0@SOL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

How to unsobscreve from this list?

TIA


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: josh(at)agliodbs(dot)com, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-16 02:41:10
Message-ID: 407F47C6.5080101@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> I always ran one of the 2 scripts (can't remember which one) and after that
> started checking the dump file, because there were things that didn't get
> changed correctly[1].
>
> [1]: I always remember the first conversion I did. I found out that MySQL
> accepted dates like 30/2/2000 or 0-0-0000.
> Very odd.

Yes, MySQL has always accepted those as perfectly valid dates. It's
quite broken.

Chris


From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>, <josh(at)agliodbs(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-16 15:33:43
Message-ID: Pine.LNX.4.33.0404160933010.3677-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

On Fri, 16 Apr 2004, Christopher Kings-Lynne wrote:

> > I always ran one of the 2 scripts (can't remember which one) and after that
> > started checking the dump file, because there were things that didn't get
> > changed correctly[1].
> >
> > [1]: I always remember the first conversion I did. I found out that MySQL
> > accepted dates like 30/2/2000 or 0-0-0000.
> > Very odd.
>
> Yes, MySQL has always accepted those as perfectly valid dates. It's
> quite broken.

the sad thing is that while MySQL implemented a -ansi switch that
supposedly turns on ansi compliance, it only fixes about 1/2 of all the
non-compliance issues. Yet another half-implemented feature... :)


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-16 17:16:02
Message-ID: 200404161016.02139.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Scott,

> the sad thing is that while MySQL implemented a -ansi switch that
> supposedly turns on ansi compliance, it only fixes about 1/2 of all the
> non-compliance issues. Yet another half-implemented feature... :)

Plus they completely broke ansi-compliance with the latest version of
mysqldump, which is what I'm struggling with. To quote one of the
developers on #mysql:
"Oh, that's not really a bug, it only affects ANSI mode".

However, Perl is superb at pattern-matching, so I've patched for it ...

--
-Josh Berkus
Aglio Database Solutions
San Francisco


From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: josh(at)agliodbs(dot)com, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-17 13:46:12
Message-ID: 40813524.6030307@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Christopher Kings-Lynne wrote:

>> ... on projects.postgresql.org, or similar. They really aren't
>> doing any good in /contrib.
>>
>> I've already set up a category "conversion tools" on pgFoundry, and
>> my idea was one project per target system.
>
>
> I reckon that by far the best way to do a mysql2pgsql converter is to
> just modify mysqldump C source code to output in postgresql format!

... and contribute it to MySQL :-)

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To:
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-17 17:03:47
Message-ID: 40816373.2010507@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Jan Wieck wrote:

> Christopher Kings-Lynne wrote:
>
>>> ... on projects.postgresql.org, or similar. They really aren't
>>> doing any good in /contrib.
>>>
>>> I've already set up a category "conversion tools" on pgFoundry, and
>>> my idea was one project per target system.
>>
>>
>>
>> I reckon that by far the best way to do a mysql2pgsql converter is to
>> just modify mysqldump C source code to output in postgresql format!
>
>
>
> ... and contribute it to MySQL :-)
>

But you would have to assign the copyright to them ....

If someone is going to make money from my code, I prefer it to be me, or
at least that everyone has a chance to do so rather than just one company.

cheers

andrew


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-18 03:18:28
Message-ID: 4081F384.90008@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

> But you would have to assign the copyright to them ....
>
> If someone is going to make money from my code, I prefer it to be me, or
> at least that everyone has a chance to do so rather than just one company.

Well, then for the same reason we should write a Perl script that
connects to MySQl and dumps in PGSql format.

I think it's silly to try and read a MySQL dump and convert it - let's
just dump straight from the source.

Josh - I'm kind of keen to make this happen...

Chris


From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <chriskl(at)familyhealth(dot)com(dot)au>
Cc: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-18 07:09:24
Message-ID: 4390.24.211.141.25.1082272164.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Christopher Kings-Lynne said:
>> But you would have to assign the copyright to them ....
>>
>> If someone is going to make money from my code, I prefer it to be me,
>> or at least that everyone has a chance to do so rather than just one
>> company.
>
> Well, then for the same reason we should write a Perl script that
> connects to MySQl and dumps in PGSql format.
>
> I think it's silly to try and read a MySQL dump and convert it - let's
> just dump straight from the source.
>
> Josh - I'm kind of keen to make this happen...
>

You might want to check out the DBIx::DB_Schema module at
http://search.cpan.org/~ivan/DBIx-DBSchema-0.23/DBSchema.pm

cheers

andrew


From: Shachar Shemesh <psql(at)shemesh(dot)biz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: josh(at)agliodbs(dot)com, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-18 07:52:31
Message-ID: 408233BF.9060903@shemesh.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:

>These tools are a not insignificant part of our Plan for World
>Domination ;-) so it would be good if somebody stepped up to the
>plate and volunteered to take care of 'em. Anybody?
>
>
Which brings me to another question

I have a bunch of perl scripts, as well as one user-defined type, for
porting from SQL Server. Where should I place these?

Inside the PG source seems....wrong. Then again, gborg does not seem to
be accepting new projects at the moment. I can put them on
sourceforge/berlios etc, and ask for a link, if you like.

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting
http://www.lingnu.com/


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Shachar Shemesh <psql(at)shemesh(dot)biz>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-18 12:09:32
Message-ID: 40826FFC.8090109@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Shachar Shemesh wrote:

> Tom Lane wrote:
>
>> These tools are a not insignificant part of our Plan for World
>> Domination ;-) so it would be good if somebody stepped up to the
>> plate and volunteered to take care of 'em. Anybody?
>>
>>
> Which brings me to another question
>
> I have a bunch of perl scripts, as well as one user-defined type, for
> porting from SQL Server. Where should I place these?
>
> Inside the PG source seems....wrong. Then again, gborg does not seem
> to be accepting new projects at the moment. I can put them on
> sourceforge/berlios etc, and ask for a link, if you like.
>
>

The replacement for gborg should be available within a few days.

cheers

andrew


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: chriskl(at)familyhealth(dot)com(dot)au
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-18 14:17:30
Message-ID: 40828DFA.1050707@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Andrew Dunstan wrote:

>Christopher Kings-Lynne said:
>
>
>>>But you would have to assign the copyright to them ....
>>>
>>>If someone is going to make money from my code, I prefer it to be me,
>>>or at least that everyone has a chance to do so rather than just one
>>>company.
>>>
>>>
>>Well, then for the same reason we should write a Perl script that
>>connects to MySQl and dumps in PGSql format.
>>
>>I think it's silly to try and read a MySQL dump and convert it - let's
>>just dump straight from the source.
>>
>>Josh - I'm kind of keen to make this happen...
>>
>>
>>
>
>You might want to check out the DBIx::DB_Schema module at
>http://search.cpan.org/~ivan/DBIx-DBSchema-0.23/DBSchema.pm
>

And this also looks cool - I just came across it searching for something
else:

http://sqlfairy.sourceforge.net/

cheers

andrew

>
>


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Shachar Shemesh <psql(at)shemesh(dot)biz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-19 16:51:16
Message-ID: 200404190951.16297.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Shachar,

> I have a bunch of perl scripts, as well as one user-defined type, for
> porting from SQL Server. Where should I place these?

Give us a few days. We'll be announcing the opening of the new projects site
soon (like, wednesday).

Regrettably, the perfect feature for this sort of thing, GForge's Code
Snippets, has a bug that will prevent us from using it immediately. But
I'll see what I can do.

--
Josh Berkus
Aglio Database Solutions
San Francisco


From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Remove MySQL Tools from Source?
Date: 2004-04-19 18:05:22
Message-ID: 408414E2.90707@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers

Andrew Dunstan wrote:

>
> Jan Wieck wrote:
>
>> Christopher Kings-Lynne wrote:
>>
>>>> ... on projects.postgresql.org, or similar. They really aren't
>>>> doing any good in /contrib.
>>>>
>>>> I've already set up a category "conversion tools" on pgFoundry, and
>>>> my idea was one project per target system.
>>>
>>>
>>>
>>> I reckon that by far the best way to do a mysql2pgsql converter is to
>>> just modify mysqldump C source code to output in postgresql format!
>>
>>
>>
>> ... and contribute it to MySQL :-)
>>
>
> But you would have to assign the copyright to them ....
>
> If someone is going to make money from my code, I prefer it to be me, or
> at least that everyone has a chance to do so rather than just one company.

You still don't understand their business model. You publish the code
under GPL for free, and offer it under something else for sale for
everyone who's actually stupid enough to use it.

Jan

>
> cheers
>
> andrew
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #