Re: Copy/foreign key contraints

From: "Ken Godee" <ken(at)perfect-image(dot)com>
To: pajout(at)gingerall(dot)cz, pgsql-general(at)postgresql(dot)org
Subject: Re: Copy/foreign key contraints
Date: 2002-12-13 16:02:13
Message-ID: 3DF9A214.29209.5D44FB@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The data's not originally coming from a postgres database,
it's in a ascii delimited format, sorry for not mentioning that.

> explore options and output of pgdump, it must do it correctly
>
> Ken Godee wrote:
> > Being fairly new to postgres I'm trying to find my way
> > around this, did some searching and see this has come
> > up quite a few times, but..........
> >
> > table 1: customer.custid primary key
> > table 2: transx.custid foreign key
> >
> > When using COPY to import data I received;
> >
> > "<unnamed>referential integerity violation-key referenced from
> > table transx not found in customer" (fairly vague statement)
> >

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Reid Thompson 2002-12-13 16:25:00 pg_hba.conf authorization question
Previous Message Alvaro Herrera 2002-12-13 16:00:14 Re: INDEX suggestion needed