"Martin Edlman" <edlman@fortech.cz> writes:
> [ FK doesn't see a key that is present in a child table ]
That's how FK checks work, see the "Caveats" section at the bottom of
http://www.postgresql.org/docs/8.4/static/ddl-inherit.html
regards, tom lane