Generalization Hierarchies & Table Inheritance

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Generalization Hierarchies & Table Inheritance
Date: 2006-02-02 18:38:50
Message-ID: 20060202183850.88151.qmail@web31808.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

This is a novice question from a newbie regarding mapping ERD generalization hierarchies (GH) schema using table inheritance in Postgresql.

There are cases where the specialization tables in a generalization hierarchy allow overlapping to occur. To illustrate this point with an example, a GH for employee could have a generalized table employee and overlapping specialized tables Manager and Programmer. An employee that was both a manager and a programmer would have a record inserted into each specialized table.

My question is, will the generalized table have duplicate records for this employee or will uniqueness be maintained? Or are rules and triggers required to maintain normalization of the generalized table.

Regards,

Richard B.

Browse pgsql-novice by date

  From Date Subject
Next Message Darren R 2006-02-02 18:59:17 Re: pg_dump - sort data?
Previous Message Michael Swierczek 2006-02-02 15:19:36 pg_dump - sort data?