pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: data restore
Date: Fri, 10 Oct 2003 10:12:34 -0700 (PDT)
Message-ID: <20031010101059.S6614@megazone.bigpanda.com> (raw)
In-Reply-To: <3F86E33F.2000500@virginia.edu>
References: <3F86E33F.2000500@virginia.edu>

On Fri, 10 Oct 2003, Jodi Kanter wrote:

> Ok. sorry to confuse everyone...I got my restore to fun to completion so
> apparently my question about running restores in psql and the ordering
> of the data are not relevant.
> I do, however, have one other question I'd like to pose.
> I am getting serveral ref integrity errors which state that a FK value
> in one table does not exist in its parent table. However, when I go to
> the database to confirm this I can find no data that violates the
> constraint. Could the error be pointing to something less obvious?

Hmm, two possibilities I can think off the top of my head are if the fk
values are being inserted and erroring and the pk rows are being done
after (which would make a later check look like this) or if there's any
inheritance involved (where a plain select will show child rows that don't
currently participate in the foreign key constraint).



view thread (5+ messages)  latest in thread

Message-ID: <20031010101059.S6614@megazone.bigpanda.com>
Permalink:  ../20031010101059.S6614@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20031010101059.S6614@megazone.bigpanda.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 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-admin@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, jkanter@virginia.edu
  Subject: Re: data restore
  In-Reply-To: <20031010101059.S6614@megazone.bigpanda.com>
  References: <3F86E33F.2000500@virginia.edu> <20031010101059.S6614@megazone.bigpanda.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