From: Brett W. McCoy <bmccoy@chapelperilous.net>
To: Josh Berkus <josh@agliodbs.com>
Cc: sqllist <pgsql-sql@postgresql.org>
Cc: Jeff MacDonald <jeff@pgsql.com>
Subject: Re: Quick question MySQL --> PgSQL
Date: Tue, 6 Mar 2001 13:14:37 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0103061312140.4095-100000@chapelperilous.net> (raw)
In-Reply-To: <3AA51DBA.10F0A38B@agliodbs.com>
On Tue, 6 Mar 2001, Josh Berkus wrote:
> Just a quick question ... I need to do a regular transfer (daily + on
> demand) of data from a MySQL database to a PostgreSQL database and back
> again. Can anybody steer me towards a good script for this, or do I
> have to write my own in PHP?
Don't think there is an actual migration script (I could be wrong,
though), but a program using Perl DBI or JDBC would make the data access a
bit easier -- if you wrote it generically enough, you could make the data
transfer go both ways with just a command-line switch.
-- Brett
http://www.chapelperilous.net/~bmccoy/
------------------------------------------------------------------------
Give all orders verbally. Never write anything down that might go into a
"Pearl Harbor File".
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: bmccoy@chapelperilous.net, josh@agliodbs.com, jeff@pgsql.com
Subject: Re: Quick question MySQL --> PgSQL
In-Reply-To: <Pine.LNX.4.30.0103061312140.4095-100000@chapelperilous.net>
References: <3AA51DBA.10F0A38B@agliodbs.com> <Pine.LNX.4.30.0103061312140.4095-100000@chapelperilous.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox