Proposal of hierarchical queries, a la Oracle

From: Evgen Potemkin <evgent(at)ns(dot)terminal(dot)ru>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Proposal of hierarchical queries, a la Oracle
Date: 2002-11-15 09:37:42
Message-ID: Pine.LNX.4.33.0211151336360.16806-100000@ns.terminal.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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;B

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

---
.evgen

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nigel J. Andrews 2002-11-15 10:42:45 Re: Debian build prob
Previous Message Zeugswetter Andreas SB SD 2002-11-15 08:24:19 Re: create or replace view