"Martin Edlman" <edl...@fortech.cz> wrote:
 
> ERROR:  insert or update on table "device" violates foreign key
> constraint "device_parent_id_fkey"
> DETAIL:  Key (parent_id)=(19947) is not present in table "device".
> 
> But the record is there, it was inserted into net.computer so it's
> selectable from net.device and from net.computer.
 
This is not a bug, but a known limitation.  Bring up this page and
look for the places it mentions "foreign key":
 
http://www.postgresql.org/docs/8.4/interactive/ddl-inherit.html
 
-Kevin

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to