Re: How to represent a tree-structure in a relational database - Mailing list pgsql-sql

From Ron Peterson
Subject Re: How to represent a tree-structure in a relational database
Date
Msg-id 3A4B5878.1F30271A@yellowbank.com
Whole thread Raw
In response to RE: How to represent a tree-structure in a relational database  ("Stuart Statman" <stu@slammedia.com>)
List pgsql-sql
Ron Peterson wrote:
> 
> This structure is more 'normal' in the sense that nodes without children
> (in a tree, the leaf nodes) don't have records in the edge table.

Phghpth.  Should have had my coffee first.  The first data structure
given would only have a null parent id for the root node, not all the
leaf nodes.  My mistake.  Thought it might be politic to point that out
before someone (correctly) called me an idiot.

-Ron-


pgsql-sql by date:

Previous
From: "Brian C. Doyle"
Date:
Subject: Re: Query Help
Next
From: Kaare Rasmussen
Date:
Subject: 7.1 feature?