Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3CA37B5D944 for ; Wed, 6 Jul 2011 04:35:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 93674-04 for ; Wed, 6 Jul 2011 07:34:38 +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 455C0B5DBF7 for ; Wed, 6 Jul 2011 04:34:38 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 9E62237; Wed, 6 Jul 2011 03:34:37 -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 1zV+ggdIgkxy; Wed, 6 Jul 2011 03:34:32 -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 B59AD27; Wed, 6 Jul 2011 03:34:31 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 69C02AEA1D; Wed, 6 Jul 2011 15:34:30 +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 xFYSaT0O3P-I; Wed, 6 Jul 2011 15:34:25 +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 F071DAEA1F; Wed, 6 Jul 2011 15:34:24 +0800 (WST) Message-ID: <4E140FFE.3090406@postnewspapers.com.au> Date: Wed, 06 Jul 2011 15:34:22 +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 CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6091: Information References: <201107052124.p65LOeKV081456@wwwmaster.postgresql.org> In-Reply-To: <201107052124.p65LOeKV081456@wwwmaster.postgresql.org> 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/45 X-Sequence-Number: 30657 On 6/07/2011 5:24 AM, giuseppe petazzoni wrote: > I pg_dump .sql data and schema but is no compatible db2 > or mysql or informix or oracle No, it won't be. Few if any SQL databases are fully compatible with each other. In particular, the schema definitions (DDL) and type names tend to vary wildly. This is not a bug. The SQL standard doesn't define enough detail to make sure that different databases are fully compatible with each other. Note that pg_dump does have some options that help to make data dumps (not the DDL) more compatible with other databasess. In particular, you can tell it to use INSERT commands instead of COPY. See the documentation for pg_dump for a detailed explaination. If you want more help with your problem, try posting on pgsql-general and explaining what you are trying to achieve. Include the error message(s) you get, etc. See: http://wiki.postgresql.org/wiki/Guide_to_reporting_problems -- 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/