Proposal of hierachical queries (a la Oracle)

From: Evgen Potemkin <evgent(at)ns(dot)terminal(dot)ru>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Proposal of hierachical queries (a la Oracle)
Date: 2002-11-14 11:52:28
Message-ID: Pine.LNX.4.33.0211141530480.23104-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 Ned Lilly 2002-11-14 11:53:53 Re: An article mentioning PostgreSQL
Previous Message Magnus Naeslund(f) 2002-11-14 11:14:41 Re: RC1?