Re: Hierarchical queries a la Oracle. Patch. - Mailing list pgsql-patches

From Fernando Nasser
Subject Re: Hierarchical queries a la Oracle. Patch.
Date
Msg-id 3DE3C103.4060502@redhat.com
Whole thread Raw
In response to Hierarchical queries a la Oracle. Patch.  (Evgen Potemkin <evgent@ns.terminal.ru>)
Responses Re: Hierarchical queries a la Oracle. Patch.
List pgsql-patches
The syntax below is wrong.  Oracle has:

[START WITH condition] CONNECT BY condition

not the reverse as stated below.  Maybe this was just a documentation mistake (I
haven't looked at the code).

Fernando

Evgen Potemkin wrote:
> +
> + Syntax.
> +
> + SELECT ... FROM ... [ WHERE condition ] CONNECT BY c_expr PRIOR c_expr START WITH expr
> +   [ HAVING condition [, ...]] [ LIMIT ... ] [ OFFSET ... ]
> +



--
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: release note fixes (7.3 & HEAD)
Next
From: Bruce Momjian
Date:
Subject: Re: release note fixes (7.3 & HEAD)