pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: giuseppe petazzoni <giuseppe.petazzoni@libero.it>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6091: Information
Date: Wed, 06 Jul 2011 15:34:22 +0800
Message-ID: <4E140FFE.3090406@postnewspapers.com.au> (raw)
In-Reply-To: <201107052124.p65LOeKV081456@wwwmaster.postgresql.org>
References: <201107052124.p65LOeKV081456@wwwmaster.postgresql.org>
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/
view thread (2+ messages)
Message-ID: <4E140FFE.3090406@postnewspapers.com.au> Permalink: ../4E140FFE.3090406@postnewspapers.com.au/ Also on: postgresql.org/message-id/4E140FFE.3090406@postnewspapers.com.au ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-bugs@postgresql.org Cc: craig@postnewspapers.com.au, giuseppe.petazzoni@libero.it Subject: Re: BUG #6091: Information In-Reply-To: <4E140FFE.3090406@postnewspapers.com.au> References: <201107052124.p65LOeKV081456@wwwmaster.postgresql.org> <4E140FFE.3090406@postnewspapers.com.au> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox