From: Josh Berkus <josh@agliodbs.com>
To: Dan Langille <dan@langille.org>
To: pgsql-sql@postgresql.org
Subject: Re: Trees: maintaining pathnames
Date: Sun, 17 Nov 2002 14:51:35 -0800
Message-ID: <web-1830006@davinci.ethosmedia.com> (raw)
In-Reply-To: <20021117112520.C8127-200000@nezlok.unixathome.org>
Dan,
> My existing tree implementation reflects the files contained on disk.
> The
> full pathname to a particlar file is obtained from the path to the
> parent
> directory. I am now considering putting this information into a
> field in
> the table.
<snip>
> Suggestions, comment, open ridicule, most welcome. thanks.
This is a fine implementation using the adjacency list model of tree
design. However, I think you may find that the string-based tree
implementation in /contrib/ltree is more suited to your purposes, and
easier to maintain.
-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-1830006@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