From: Richard Broersma <richard.broersma@gmail.com>
To: Michael Glaesemann <grzm@seespotcode.net>
Cc: Lee Hachadoorian <lee.hachadoorian@gmail.com>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Table Design for Hierarchical Data
Date: Tue, 6 Apr 2010 15:48:44 -0700
Message-ID: <x2l396486431004061548y4bdc5dceg9eb54f6122875655@mail.gmail.com> (raw)
In-Reply-To: <F04AC8F6-46C5-48AD-8741-D185F5F9B82F@seespotcode.net>
References: <n2i5ab13581004061033j4ed25734xd0504cb95a1fc092@mail.gmail.com>
<F04AC8F6-46C5-48AD-8741-D185F5F9B82F@seespotcode.net>
On Tue, Apr 6, 2010 at 3:04 PM, Michael Glaesemann <grzm@seespotcode.net> wrote:
> Another is nested sets which performs quite nicely for loads which are more read than write (which I suspect is the case here).
Pg 9.0 has two new features are nice for both Nest set trees.
one is deferrable unique constraints.
While 8.4 has CTE's which are good for querying adjacency list tree,
we need to wait for write-able CTE's (maybe 9.1?) to preform all of
the possible tree modifications.
--
Regards,
Richard Broersma Jr.
Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug
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: richard.broersma@gmail.com, grzm@seespotcode.net, lee.hachadoorian@gmail.com
Subject: Re: Table Design for Hierarchical Data
In-Reply-To: <x2l396486431004061548y4bdc5dceg9eb54f6122875655@mail.gmail.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