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-17 22:51:35
Message-ID: web-1830006@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message greg 2002-11-18 01:09:29 Re: Trees: maintaining pathnames
Previous Message jasiek 2002-11-17 20:24:04 Re: Problems invoking psql. Help please.