Proposal of hierachical queries (a la Oracle) - Mailing list pgsql-hackers

From Evgen Potemkin
Subject Proposal of hierachical queries (a la Oracle)
Date
Msg-id Pine.LNX.4.33.0211141530480.23104-100000@ns.terminal.ru
Whole thread Raw
Responses Re: Proposal of hierachical queries (a la Oracle)  (Rod Taylor <rbt@rbt.ca>)
List 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



pgsql-hackers by date:

Previous
From: Paul Ogden
Date:
Subject: Re: [SQL] Inconsistent or incomplete behavior obverse in where
Next
From: "Verger Nicolas"
Date:
Subject: RE : RE : Stability problems