Re: pg_restore and FK constraints with large dbs

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: ow <oneway_111(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_restore and FK constraints with large dbs
Date: 2003-11-16 15:19:46
Message-ID: Pine.LNX.4.44.0311161619270.5327-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

ow writes:

> --- Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> > If you you pg_dump and dump schema and data together, then there is some
> > magic to temporarily disable foreign key constraints. Try it out.
>
> Dunno. Don't see any magic so far. In fact, pg_restore appears to use
> internally the same SQL to verify that the validity of the FKs as "ALTER TABLE
> xxx ADD CONSTRAINT". And it's not any faster either.

Read again. No one was talking of pg_restore.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message ow 2003-11-16 16:45:44 Re: pg_restore and FK constraints with large dbs
Previous Message Yuji Shinozaki 2003-11-16 14:46:08 Re: compare two databases