pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: pgsql-sql@postgresql.org
Subject: How to retrieve a n-ary tree in SQL?
Date: Mon, 14 May 2007 20:02:11 +0200
Message-ID: <1179165731.4936.4.camel@panoramix> (raw)

Hi,

Is there a way to get a query (of function) to retrieve a n-ary tree: 1
parent node has n children and the tree is n levels deep?

TIA

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



view thread (2+ messages)  latest in thread

Message-ID: <1179165731.4936.4.camel@panoramix>
Permalink:  ../1179165731.4936.4.camel@panoramix/
Also on:    postgresql.org/message-id/1179165731.4936.4.camel@panoramix

 · 

reply

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: J.Kraaijeveld@Askesis.nl
  Subject: Re: How to retrieve a n-ary tree in SQL?
  In-Reply-To: <1179165731.4936.4.camel@panoramix>

* 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