pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Richard Huxton <dev@archonet.com>
To: pgsql-sql@postgresql.org
Subject: Re: Problems with PG_DUMP and restore
Date: Tue, 10 Jul 2001 11:50:07 -0700
Message-ID: <web-83576@davinci.ethosmedia.com> (raw)
In-Reply-To: <00a701c10960$05035760$1001a8c0@archonet.com>

Richard,

> 
> Try having a look at the order the tables get inserted esp. with
> regard to
> any foreign keys etc. - I'm not sure pgdump is that clever about such
> things.

Thanks.  I did try that; however:
1. Even trying re-loading the tables twice did not work, as it should
have with missing foriegn keys.
2. I did not see any Unmatched Reference errors in the log, as I
typically do with missing keys.

Further, I *was* able to re-load the database from a unitary pg_dump
file ... one that includes both DDL and data.  It's just when I split
the pg_dump into two files -- one for DDL, one for data -- that it
fails.

BTW, I'm using 7.1RC2

-Josh


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



view thread (5+ messages)  latest in thread

Message-ID: <web-83576@davinci.ethosmedia.com>
Permalink:  ../web-83576@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-83576@davinci.ethosmedia.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, dev@archonet.com
  Subject: Re: Problems with PG_DUMP and restore
  In-Reply-To: <web-83576@davinci.ethosmedia.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