Skip site navigation (1) Skip section navigation (2)

referential integrity violation

From: tony <tony(at)animaproductions(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: referential integrity violation
Date: 2001-07-30 14:23:24
Message-ID: 996503004.3371.11.camel@vaio (view raw or flat)
Thread:
Lists: pgsql-general
Hello,

While copying from a text file of tab delimited data I am getting
" ERROR: <unnamed> referential integrity violation - key referenced
from films not found in sales"

The salesid field 
salesid INTEGER PRIMARY KEY DEFAULT NEXTVAL('sales_serial')

exists

Help =:-D

Cheers

Tony Grant



Responses

pgsql-general by date

Next:From: Jan WieckDate: 2001-07-30 14:26:51
Subject: Re: Re: Inserts in triggers Follow Up
Previous:From: Tom LaneDate: 2001-07-30 14:13:02
Subject: Re: Re: "Oracle's ROWNUM"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group