Nested Sets

From: "A(dot) Kulikov" <a(dot)kulikov(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Nested Sets
Date: 2005-04-16 12:31:43
Message-ID: fc63e1af0504160531795a314d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi all,

I have just moved to PostgreSQL from MySQL and am willing to employ
all the capabilities PostgreSQL has to offer. In MySQL I have had
implemented Joe Celko's Nested Sets quite a while ago, extending them
with some additional fields to cache data such as the level of the
node and a reference to the parent node for better data manipulation.
I don't feel like reinventing the wheel again in PostgreSQL by simply
porting all the SQL from MySQL and not giving priority to stuff like
stored procedures and referential integrity in postgres.

A search over google and these mailing lists have yielded little
results, perharps I am missing something. Has anyone implemented a
pretty Nested Sets solution in PostgreSQL? Or is this considered black
voodoo and noone wants to show their solutions to the world?

with regards,

A. Kulikov
--
The mind is essential -- http://essentialmind.com/

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Troels Arvin 2005-04-16 13:04:47 Re: Nested Sets
Previous Message CoL 2005-04-15 21:58:58 Re: How to Port Oracle's user defined "Package" into Postgres 8.0.1.