Re: Trees: maintaining pathnames

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: "Dan Langille" <dan(at)langille(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Trees: maintaining pathnames
Date: 2002-11-22 22:37:00
Message-ID: web-1837760@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Dan,

Looks good to me. It's the same thing I do for the Celko tree
structures in one application -- I have a cache table holding such
things as level and parent_id for each node, values which can only be
generated from the source tables through slow aggregates.

Also, the use of a child table to hold the pathnames should cure your
"cascading trigger" problem.

-Josh Berkus

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Arcadius A. 2002-11-23 12:33:03 LIMIT and/or GROUP BY help!
Previous Message Dan Langille 2002-11-22 22:17:05 Re: Trees: maintaining pathnames