Proposal of hierarchical queries, a la Oracle

Поиск
Список
Период
Сортировка
От Evgen Potemkin
Тема Proposal of hierarchical queries, a la Oracle
Дата
Msg-id Pine.LNX.4.33.0211151338530.16806-100000@ns.terminal.ru
обсуждение исходный текст
Ответы Re: Proposal of hierarchical queries, a la Oracle  (Oleg Bartunov <oleg@sai.msu.su>)
Re: Proposal of hierarchical queries, a la Oracle  ("Josh Berkus" <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: "Vaughn Cleminson"
Дата:
Сообщение: Does Postgres replace \\ with \ in an update query
Следующее
От: teknokrat
Дата:
Сообщение: Updating a table column with ref integrity