Proposal of hierarchical queries, a la Oracle

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


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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message teknokrat 2002-11-15 11:45:39 Updating a table column with ref integrity
Previous Message Vaughn Cleminson 2002-11-15 07:23:15 Does Postgres replace \\ with \ in an update query