Re: Table Design for Hierarchical Data

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Lee Hachadoorian <lee(dot)hachadoorian(at)gmail(dot)com>
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Table Design for Hierarchical Data
Date: 2010-04-07 08:26:29
Message-ID: w2yc3a7de1f1004070126o74fdebe3y762b67323e888523@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 6 April 2010 21:33, Lee Hachadoorian <lee(dot)hachadoorian(at)gmail(dot)com> wrote:
> More generally, what questions should I be asking to help decide what
> structure makes the most sense? Are there any websites, forums, or books
> that cover this kind of problem?

Haven't you thought about ltree contrib? From the description of
ltree: "This module implements a data type ltree for representing
labels of data stored in a hierarchical tree-like structure".

http://www.postgresql.org/docs/8.4/interactive/ltree.html

--
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com /
Linkedin: http://ru.linkedin.com/in/grayhemp /
JID/GTalk: gray(dot)ru(at)gmail(dot)com / Skype: gray-hemp / ICQ: 29353802

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleas Mantzios 2010-04-07 08:28:56 Re: Table Design for Hierarchical Data
Previous Message Yeb Havinga 2010-04-07 08:06:44 Re: Table Design for Hierarchical Data