From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | tshipley(at)deru(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Relational Inheritance Thoughts |
Date: | 2006-01-06 17:58:39 |
Message-ID: | 43BEAFCF.7060603@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Trent Shipley wrote:
> At the risk of belaboring the point, relational single inheritance resembles
> a hierarchical database, like a traditional computer file system. A
> relational multiple inheritance database resembles a network database, like
> the once promising CODASYL standard or the GROVE or DOM representation of an
> XML hyper-document.
> A database with relational multiple inheritance is a hybrid between a
> relational database and network database that ought to support any mixture of
> the data models without prejudice.
I'm not sure any of this is true. Relational inheritance (where one
table "inherits" the attributes of another) is a syntactic shorthand,
nothing more. You could re-implement it either with one "master" table
and several "detail" tables or unions of several tables with shared
attribute-names.
In a network-database or document, such as an XML document you use the
hierarchy / network edges to navigate to individual data items, not to
"navigate" (and I don't think the term is correct here) your schema
definition.
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Marcelo Lima | 2006-01-06 18:03:28 | autocommit to off |
Previous Message | Tom Lane | 2006-01-06 17:53:05 | Re: [GENERAL] Problems building pg 8.1.1 |