From: Oleg Bartunov <oleg@sai.msu.su>
To: Evgen Potemkin <evgent@ns.terminal.ru>
Cc: pgsql-sql@postgresql.org
Subject: Re: Proposal of hierarchical queries, a la Oracle
Date: Fri, 15 Nov 2002 19:59:21 +0300 (MSK)
Message-ID: <Pine.GSO.4.44.0211151958380.13064-100000@ra.sai.msu.su> (raw)
In-Reply-To: <Pine.LNX.4.33.0211151338530.16806-100000@ns.terminal.ru>
Evgen,
you'd need to post your message and patch to hackers mailing list.
btw, did you try contrib/ltree module ?
regards,
Oleg
On Fri, 15 Nov 2002, Evgen Potemkin wrote:
>
> Hi there!
>
> I want to propose the patch for adding the hierarchical queries posibility.
> It allows to construct queries a la Oracle for ex:
> SELECT a,b FROM t CONNECT BY a PRIOR b START WITH cond;
>
> I've seen this type of queries often made by adding a new type, which stores
> position of row in the tree. But sorting such tree are very tricky (i
> think).
>
> Patch allows result tree to be sorted, i.e. subnodes of each node will be
> sorted by ORDER BY clause.
>
> with regards, evgen
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: oleg@sai.msu.su, evgent@ns.terminal.ru
Subject: Re: Proposal of hierarchical queries, a la Oracle
In-Reply-To: <Pine.GSO.4.44.0211151958380.13064-100000@ra.sai.msu.su>
References: <Pine.LNX.4.33.0211151338530.16806-100000@ns.terminal.ru> <Pine.GSO.4.44.0211151958380.13064-100000@ra.sai.msu.su>
* 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