Re: Copy/foreign key contraints - Mailing list pgsql-general

From Ken Godee
Subject Re: Copy/foreign key contraints
Date
Msg-id 3DF9A214.29209.5D44FB@localhost
Whole thread Raw
In response to Re: Copy/foreign key contraints  (Jan Poslusny <pajout@gingerall.cz>)
List 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)
> >


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: INDEX suggestion needed
Next
From: "Reid Thompson"
Date:
Subject: pg_hba.conf authorization question