pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <e99re41@DoCS.UU.SE>
To: Clay <DrFrog@smartt.com>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] is there a mysql to postgresql sql converter?
Date: Tue, 15 Feb 2000 13:17:37 +0100 (MET)
Message-ID: <Pine.GSO.4.02A.10002151314490.28210-100000@Krokodil.DoCS.UU.SE> (raw)
In-Reply-To: <38A89E74.384F87BE@smartt.com>

On Mon, 14 Feb 2000, Clay wrote:

> if so id like to see it/have it!
> 
> if not is anyone interested in helping to make a script of some sort?

In all generality, this is a rather complex issue: converting the database
schemas (removing non-standard datatypes, such as enum), converting the
queries, plus converting the C code. As I understand it, their C API uses
some sort of "fetch next row" function, whereas we have a "get nth row"
call. So you'd also have to change the program logic. And that covers only
C, of course. Probably won't happen too soon.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




view thread (8+ messages)  latest in thread

Message-ID: <Pine.GSO.4.02A.10002151314490.28210-100000@Krokodil.DoCS.UU.SE>
Permalink:  ../Pine.GSO.4.02A.10002151314490.28210-100000@Krokodil.DoCS.UU.SE/
Also on:    postgresql.org/message-id/Pine.GSO.4.02A.10002151314490.28210-100000@Krokodil.DoCS.UU.SE

 · 

reply

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: e99re41@DoCS.UU.SE, DrFrog@smartt.com
  Subject: Re: [SQL] is there a mysql to postgresql sql converter?
  In-Reply-To: <Pine.GSO.4.02A.10002151314490.28210-100000@Krokodil.DoCS.UU.SE>
  References: <38A89E74.384F87BE@smartt.com> <Pine.GSO.4.02A.10002151314490.28210-100000@Krokodil.DoCS.UU.SE>

* 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