Thanks to visit codestin.com
Credit goes to postgrespro.com

Proposal of hierarchical queries, a la Oracle - Mailing list 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




pgsql-sql by date:

Previous
From: "Vaughn Cleminson"
Date:
Subject: Does Postgres replace \\ with \ in an update query
Next
From: teknokrat
Date:
Subject: Updating a table column with ref integrity