Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8386864FD64 for ; Thu, 4 Sep 2008 10:38:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66477-03 for ; Thu, 4 Sep 2008 10:38:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by postgresql.org (Postfix) with ESMTP id 57C6A64FD33 for ; Thu, 4 Sep 2008 10:38:16 -0300 (ADT) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m84Dc7vI035057; Thu, 4 Sep 2008 16:38:07 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m84Dc4x0035056; Thu, 4 Sep 2008 16:38:04 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: pgsql-admin@postgresql.org Subject: Re: Database Conversion Date: Thu, 4 Sep 2008 16:38:03 +0300 User-Agent: KMail/1.9.7 Cc: Carol Walter References: <9B852776-95B1-41E2-B6A8-DFA92F7C410F@indiana.edu> In-Reply-To: <9B852776-95B1-41E2-B6A8-DFA92F7C410F@indiana.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809041638.04145.achill@matrix.gatewaynet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/17 X-Sequence-Number: 30110 =CE=A3=CF=84=CE=B9=CF=82 Thursday 04 September 2008 16:24:34 =CE=BF/=CE=B7 = Carol Walter =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hello, All, >=20 > I have a new faculty member who has a large database that is in =20 > MySQL. We don't support MySQL so the database needs to be ported to =20 > PostgreSQL. Her GA, who know MySQL, says that he has a query that he =20 > will run that will put the data into postgres. I thought that the =20 > data would have to be output to a text file and then copied into =20 > postgres. I don't know MySQL. I've done a conversion from Oracle =20 > and this is how I did it. Is he correct that he can put the data =20 > into a postgres database by running a MySQL query? It doesn't sound =20 > possible to me. >=20 We recently did a conversion from MS Access (i dont know details) to pgsql = 8.3.3. The MS Access-aware guy just declared the correct postgresql ODBC settings, i adjusted the pgsql backend to accept connections from the MS workstation, then performed an EXPORT from MS Access to the pgsql datasource and thats all. Of course all i got was the exact MS Access tables, which then were useful to populate my new designed pgsql tables. One caveat here, most commonly, is the design of the DB. The lower end you get mysql->sql server->access->COBOL, etc... the greater chance you need a re-engineering of the schema. > Carol >=20 =2D-=20 Achilleas Mantzios