Received: from meryl.it.uu.se (root@meryl.it.uu.se [130.238.12.42]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA94705 for ; Tue, 15 Feb 2000 07:17:45 -0500 (EST) (envelope-from e99re41@DoCS.UU.SE) Received: from Krokodil.DoCS.UU.SE (e99re41@Krokodil.DoCS.UU.SE [130.238.9.184]) by meryl.it.uu.se (8.8.5/8.8.5) with ESMTP id NAA00490; Tue, 15 Feb 2000 13:17:39 +0100 (MET) Received: from localhost (e99re41@localhost) by Krokodil.DoCS.UU.SE (8.6.12/8.6.12) with SMTP id NAA28249; Tue, 15 Feb 2000 13:17:38 +0100 X-Authentication-Warning: Krokodil.DoCS.UU.SE: e99re41 owned process doing -bs Date: Tue, 15 Feb 2000 13:17:37 +0100 (MET) From: Peter Eisentraut Reply-To: Peter Eisentraut To: Clay cc: pgsql-sql@postgreSQL.org Subject: Re: [SQL] is there a mysql to postgresql sql converter? In-Reply-To: <38A89E74.384F87BE@smartt.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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