X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id AEC979FA6A2 for ; Mon, 3 Jul 2006 12:33:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 13778-09 for ; Mon, 3 Jul 2006 12:33:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from eastrmmtao06.cox.net (eastrmmtao06.cox.net [68.230.240.33]) by postgresql.org (Postfix) with ESMTP id C55D99FA232 for ; Mon, 3 Jul 2006 12:33:08 -0300 (ADT) Received: from [192.168.0.8] (really [24.250.217.244]) by eastrmmtao06.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060703153307.GRHH16402.eastrmmtao06.cox.net@[192.168.0.8]>; Mon, 3 Jul 2006 11:33:07 -0400 From: Robert Treat To: pgsql-general@postgresql.org Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4 Date: Mon, 3 Jul 2006 11:33:00 -0400 User-Agent: KMail/1.8.3 Cc: "Jason McManus" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607031133.01168.xzilla@users.sourceforge.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/84 X-Sequence-Number: 97708 On Friday 30 June 2006 09:17, Jason McManus wrote: > On Converting from MySQL 5.0.x to PostgreSQL 8.1.x > * There is a conversion utility called 'mysql2pgsql' that will convert > dump files from the mysqldump format, to a format that psql can > understand. It is available at: > - http://gborg.postgresql.org/project/mysql2psql/projdisplay.php FWIW, I have some decent success using mysqls mysqldump programm with various --postgresql-compataible flags to get postgresql workable dumps. The flag tree of that program is a killer, but if you can figure out the right flags, the output is pretty good. -- Robert Treat Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL