From: Net Tree Inc. <nettreeinc@gmail.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: how do I do dump and restore without bugging with constraint?
Date: Tue, 23 Feb 2010 14:39:44 +0800
Message-ID: <bd9689741002222239rfe6033fhe07511da59aa3d5f@mail.gmail.com> (raw)
In-Reply-To: <4B830D12020000250002F4C1@gw.wicourts.gov>
References: <4B830D12020000250002F4C1@gw.wicourts.gov>
Ok, I am just trying to find the proper way to back and restore database
that contain restriction.
The other way to ask. If I have two 99% schema similar databases. The old
one might contain few columns that does not exist in the new one and contain
constrains that the new DB does not have. In that case, what's standard to
do this?
Since they are 99% similar in schema, can I do "data dump" only ? will that
work?
If owner for database between Old and new DB are different, do I must add
that owner in by create new role?
appreciated,
Steven
On Tue, Feb 23, 2010 at 1:02 PM, Kevin Grittner <Kevin.Grittner@wicourts.gov
> wrote:
> "Net Tree Inc." wrote:
>
> > When I do restore it shown alot errors related with constraints.
> > How can I dump and to restore from old to new without dealing with
> > constraint and just forces data dump to where it suppose to belong?
>
> What version are you dumping from and to? Exactly what errors are
> you getting? (Copy and paste samples, please.)
>
> You might want to review this page:
>
> http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
>
> -Kevin
>
>
>
--
---------------------------------------
Steven Huang
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: nettreeinc@gmail.com, Kevin.Grittner@wicourts.gov
Subject: Re: how do I do dump and restore without bugging with constraint?
In-Reply-To: <bd9689741002222239rfe6033fhe07511da59aa3d5f@mail.gmail.com>
* 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