From: Josh Berkus <josh@agliodbs.com>
To: Dan Langille <dan@langille.org>
To: pgsql-sql@postgresql.org
Subject: Re: Trees: maintaining pathnames
Date: Fri, 22 Nov 2002 14:37:00 -0800
Message-ID: <web-1837760@davinci.ethosmedia.com> (raw)
In-Reply-To: <3DDE6691.19184.C4BEF7D4@localhost>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, dan@langille.org
Subject: Re: Trees: maintaining pathnames
In-Reply-To: <web-1837760@davinci.ethosmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox