Re: Tom and Fernando: Status for "WITH RECURSIVE" - Mailing list pgsql-hackers

From Rasmus Resen Amossen
Subject Re: Tom and Fernando: Status for "WITH RECURSIVE"
Date
Msg-id Law14-F73c0mWJSkNIW00018d9a@hotmail.com
Whole thread Raw
In response to Tom and Fernando: Status for "WITH RECURSIVE"  (XST <rresena@hotmail.com>)
Responses Re: Tom and Fernando: Status for "WITH RECURSIVE"  (Andrew Overholt <overholt@redhat.com>)
List pgsql-hackers
>I don't have a preliminary
>patch for you as I've been working on getting the non-recursive case
>working first (ie. a plain WITH).  I will keep you posted as my progress
>continues.

Do you know if your implementation will support multiple childs for each 
node or will the implementation be limited to one link from each node in the 
tree (making the tree to a list)?

I mean, given the table below:

NODEID, CHILDID
1       10
1       11
1       12
10      NULL
11      111
11      112
12      NULL
2       21
3       22
21      NULL
22      NULL
111     NULL
112     NULL

-will I then be able to fetch all childs (and grandchilds) for a given node 
in the above tree in one single query (fx. getting the whole tree when 
asking for nodeid = 1 and all its childs)?
I'm asking because I somewere heard/read that SQL3 (SQL99) does not support 
multiple childs (but I hope you will implement the "large" version).

Sincerely, Rasmus

_________________________________________________________________
F� MSN Hotmail p� mobilen http://www.msn.dk/mobile



pgsql-hackers by date:

Previous
From: Michael Brusser
Date:
Subject: Re: Removing a user's password
Next
From: Bruce Momjian
Date:
Subject: Re: Removing a user's password