On Thu, 22 Mar 2001, [iso-8859-1] Johannes Gr�dem wrote:
> Hi,
>
> it seems I can't have a foreign key that references some subclass. Postgres
> says it can't figure out what its primary key is. The primary key is defined
> in the superclass.
Unique/primary key doesn't inherit to subclasses.
If you want to reference just soa_record, you can create the unique index
on soa_record. If you want to do the entire tree, the fk stuff doesn't
support that (issues with inheriting the triggers mostly).