Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B5CB1B5DBE6 for ; Wed, 6 Jul 2011 08:03:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 52058-08 for ; Wed, 6 Jul 2011 11:03:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id 01D4AB5DBE1 for ; Wed, 6 Jul 2011 08:03:07 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 67DF637; Wed, 6 Jul 2011 07:03:07 -0400 (EDT) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GUNlDGJBuyYQ; Wed, 6 Jul 2011 07:03:06 -0400 (EDT) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 13CB527; Wed, 6 Jul 2011 07:03:06 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id BF0E0AEB44; Wed, 6 Jul 2011 19:03:04 +0800 (WST) X-Amavis-Modified: Mail body modified (using disclaimer) - mail.postnewspapers.com.au X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id akoAxcoZ3cWe; Wed, 6 Jul 2011 19:02:58 +0800 (WST) Received: from [10.1.1.7] (124-169-57-156.dyn.iinet.net.au [124.169.57.156]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 6E15AAE411; Wed, 6 Jul 2011 19:02:58 +0800 (WST) Message-ID: <4E1440E0.3030509@postnewspapers.com.au> Date: Wed, 06 Jul 2011 19:02:56 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: "giuseppe.petazzoni@libero.it" , pgsql-bugs@postgresql.org Subject: Re: R: Re: BUG #6091: Information References: <28192423.564291309948926017.JavaMail.defaultUser@defaultHost> In-Reply-To: <28192423.564291309948926017.JavaMail.defaultUser@defaultHost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/46 X-Sequence-Number: 30658 [top-posting because the OP didn't seem to see my first reply below theirs] I repeat: this is not a bug report. SQL dumps from one database are not expected to work in a different database system from a different vendor. There are various migration and conversion tools that make it easier. It helps if you stick to SQL-standard data type names, etc, but you will still have plenty of problems. Writing compatible SQL for different databases is somewhere between "hard" and "impossible". To learn more, start with a google search for "SQL Dialects", and with http://en.wikipedia.org/wiki/SQL , particularly http://en.wikipedia.org/wiki/SQL#Cross-vendor_portability . You should also read this: http://en.wikibooks.org/wiki/SQL_Dialects_Reference to learn more about the sort of vendor-specific differences. For database conversion, do a Google search for "database conversion tool" or "Database migration" and have a look at Talend's web page here: http://www.talend.com/solutions-data-integration/data-migration.php . I can't do much more for you than this. You really need to study some more of how SQL based systems in general work, and become more familiar with their differences. If you still have a problem or question that is related to PostgreSQL, read this web page: http://wiki.postgresql.org/wiki/Guide_to_reporting_problems then ask on the pgsql-novice mailing list here (http://www.postgresql.org/mailpref/pgsql-novice) or on the pgsql-general. Please do not reply to this email to the bug report mailing list with more questions. If you have a bug report and can follow the bug reporting guidelines, feel free to use the report form, but please don't use it for general help questions. > Dear Craig > > I test schema and data dump of postgresql but not have a possibility > > to export schema and data ad import in mysql or db2 or oracle or informix > > the .sql scema and data export of postgresql not are compatible in .sql > import > > mysql oracle db2 informix , you have a solution of this problem > > Best Regards Giuseppe PETAZZONI -- Craig Ringer POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08 9388 2258 ABN: 50 008 917 717 http://www.postnewspapers.com.au/